complete-cli 1.0.1-dev.5 → 1.0.1-dev.6
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.
|
@@ -115,12 +115,8 @@ async function installNodeModules(projectPath, skipInstall, packageManager) {
|
|
|
115
115
|
const command = getPackageManagerInstallCommand(packageManager);
|
|
116
116
|
promptLog(`Installing node modules with "${command}"... (This can take a long time.)`);
|
|
117
117
|
const $$ = $({ cwd: projectPath });
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
await $ `echo lol1`;
|
|
121
|
-
console.log("GETTING HERE 2");
|
|
122
|
-
await $$ `echo lol2`;
|
|
123
|
-
console.log("GETTING HERE 3");
|
|
118
|
+
const commandParts = command.split(" ");
|
|
119
|
+
await $$ `${commandParts}`;
|
|
124
120
|
}
|
|
125
121
|
async function formatFiles(projectPath) {
|
|
126
122
|
const $$ = $({ cwd: projectPath });
|
package/package.json
CHANGED
|
@@ -187,12 +187,8 @@ async function installNodeModules(
|
|
|
187
187
|
`Installing node modules with "${command}"... (This can take a long time.)`,
|
|
188
188
|
);
|
|
189
189
|
const $$ = $({ cwd: projectPath });
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
await $`echo lol1`;
|
|
193
|
-
console.log("GETTING HERE 2");
|
|
194
|
-
await $$`echo lol2`;
|
|
195
|
-
console.log("GETTING HERE 3");
|
|
190
|
+
const commandParts = command.split(" ");
|
|
191
|
+
await $$`${commandParts}`;
|
|
196
192
|
}
|
|
197
193
|
|
|
198
194
|
async function formatFiles(projectPath: string) {
|