oclif 4.8.0 → 4.8.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/lib/commands/init.js +2 -2
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/lib/commands/init.js
CHANGED
|
@@ -121,8 +121,8 @@ class Generate extends generator_1.GeneratorCommand {
|
|
|
121
121
|
await this.template((0, node_path_1.join)(this.templatesDir, 'src', 'init', 'run.cmd.ejs'), (0, node_path_1.join)(projectBinPath, 'run.cmd'), templateOptions);
|
|
122
122
|
await this.template((0, node_path_1.join)(this.templatesDir, 'src', 'init', 'run.js.ejs'), (0, node_path_1.join)(projectBinPath, 'run.js'), templateOptions);
|
|
123
123
|
if (process.platform !== 'win32') {
|
|
124
|
-
await (0, generator_1.exec)(`chmod +x ${(0, node_path_1.join)(projectBinPath, 'run.js')}`);
|
|
125
|
-
await (0, generator_1.exec)(`chmod +x ${(0, node_path_1.join)(projectBinPath, 'dev.js')}`);
|
|
124
|
+
await (0, generator_1.exec)(`chmod +x "${(0, node_path_1.join)(projectBinPath, 'run.js')}"`);
|
|
125
|
+
await (0, generator_1.exec)(`chmod +x "${(0, node_path_1.join)(projectBinPath, 'dev.js')}"`);
|
|
126
126
|
}
|
|
127
127
|
const updatedPackageJSON = {
|
|
128
128
|
...packageJSON,
|
package/oclif.manifest.json
CHANGED