@ovipakla/gm-cli 2.1.2 → 2.1.3
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/app.js +1 -1
- package/package.json +1 -1
package/app.js
CHANGED
|
@@ -247,7 +247,7 @@ fi
|
|
|
247
247
|
execSync(`git fetch ${fetchOptions}`, { shell: "bash", cwd: modulePath, stdio: 'inherit' });
|
|
248
248
|
execSync(`${commit}git checkout --detach --force \$COMMIT`, { shell: "bash", cwd: modulePath, stdio: 'inherit' });
|
|
249
249
|
execSync(`${commit}git reset --hard \$COMMIT`, { shell: "bash", cwd: modulePath, stdio: 'ignore' });
|
|
250
|
-
execSync(`git clean -
|
|
250
|
+
execSync(`git clean -fd`, { shell: "bash", cwd: modulePath, stdio: 'inherit' });
|
|
251
251
|
} catch (error) {
|
|
252
252
|
console.log(`🗑️ Removing ${modulePath} because it's not a git repository`);
|
|
253
253
|
fs.rmSync(modulePath, { recursive: true, force: true });
|