jfrog-cli-v2-jf 2.24.2 → 2.25.1
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/init.js +0 -6
- package/package.json +1 -1
package/init.js
CHANGED
|
@@ -85,17 +85,11 @@ function writeToFile(response) {
|
|
|
85
85
|
if (!process.platform.startsWith("win")) {
|
|
86
86
|
fs.chmodSync(filePath, 0555);
|
|
87
87
|
}
|
|
88
|
-
runCliIntro(filePath)
|
|
89
88
|
}).on('error', function (err) {
|
|
90
89
|
console.error(err);
|
|
91
90
|
});
|
|
92
91
|
}
|
|
93
92
|
|
|
94
|
-
function runCliIntro() {
|
|
95
|
-
const { spawn } = require('child_process');
|
|
96
|
-
spawn(getFileName(), ['intro'], {stdio: 'inherit', shell: true});
|
|
97
|
-
}
|
|
98
|
-
|
|
99
93
|
function getArchitecture() {
|
|
100
94
|
var platform = process.platform;
|
|
101
95
|
if (platform.startsWith("win")) {
|
package/package.json
CHANGED