@devkong/cli 0.0.31 → 0.0.32

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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. 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.isWin || this.wslPrefix ? `${this.wslPrefix} /bin/bash -c '${baseCommand}'` : `powershell -c '${baseCommand}'`;
77760
+ return !this.isWin || this.wslPrefix ? `${this.wslPrefix} /bin/bash -c 'echo ${password} |docker login -u ${username} --password-stdin ${registry3}'` : `powershell -c "echo '${password}' |docker login -u '${username}' --password-stdin '${registry3}'"`;
77761
77761
  }
77762
77762
  getPythonSchemaCmdText() {
77763
77763
  const engine = this.isWin ? ".\\.venv\\Scripts\\python.exe" : "./.venv/bin/python";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devkong/cli",
3
- "version": "0.0.31",
3
+ "version": "0.0.32",
4
4
  "type": "commonjs",
5
5
  "main": "./index.js",
6
6
  "typings": "./index.d.ts",