@devkong/cli 0.0.28 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -77757,7 +77757,7 @@ var PublishVersionCommand = class {
|
|
|
77757
77757
|
}
|
|
77758
77758
|
dockerLoginCmdText(username, password, registry3) {
|
|
77759
77759
|
const baseCommand = `echo ${password} |docker login -u ${username} --password-stdin ${registry3}`;
|
|
77760
|
-
return this.wslPrefix ? `${this.wslPrefix} /bin/bash -c '${baseCommand}'` : `powershell -c '${baseCommand}'`;
|
|
77760
|
+
return !this.isWin || this.wslPrefix ? `${this.wslPrefix} /bin/bash -c '${baseCommand}'` : `powershell -c '${baseCommand}'`;
|
|
77761
77761
|
}
|
|
77762
77762
|
getPythonSchemaCmdText() {
|
|
77763
77763
|
const engine = this.isWin ? ".\\.venv\\Scripts\\python.exe" : "./.venv/bin/python";
|