@almadar/workspace 0.11.0 → 0.11.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/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -503,6 +503,8 @@ var GitClient = class {
|
|
|
503
503
|
/** Clone a bundle file into `targetDir` (hydrate a fresh workspace from the archive). */
|
|
504
504
|
async cloneBundle(bundleAbsPath, targetDir) {
|
|
505
505
|
await execGit(["clone", bundleAbsPath, targetDir], path2.dirname(bundleAbsPath));
|
|
506
|
+
await execGit(["remote", "remove", "origin"], targetDir).catch(() => {
|
|
507
|
+
});
|
|
506
508
|
}
|
|
507
509
|
exec(args) {
|
|
508
510
|
return execGit(args, this.cwd);
|