@xuhaojun/githunk 0.1.2 → 0.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/dist/githunk.js +2 -2
- package/package.json +1 -1
package/dist/githunk.js
CHANGED
|
@@ -1439,7 +1439,7 @@ class GitMutations {
|
|
|
1439
1439
|
await this.runner.run(["restore", "--staged", "--", path], { acceptedExitCodes: [0, 1] });
|
|
1440
1440
|
}
|
|
1441
1441
|
await this.runner.run(["restore", "--", path], { acceptedExitCodes: [0, 1] });
|
|
1442
|
-
await this.runner.run(["clean", "-
|
|
1442
|
+
await this.runner.run(["clean", "-ff", "-d", "--", path]);
|
|
1443
1443
|
await this.refresh();
|
|
1444
1444
|
});
|
|
1445
1445
|
}
|
|
@@ -1449,7 +1449,7 @@ class GitMutations {
|
|
|
1449
1449
|
await this.runner.run(["restore", "--staged", "--", path], { acceptedExitCodes: [0, 1] });
|
|
1450
1450
|
}
|
|
1451
1451
|
await this.runner.run(["restore", "--", path], { acceptedExitCodes: [0, 1] });
|
|
1452
|
-
await this.runner.run(["clean", "-
|
|
1452
|
+
await this.runner.run(["clean", "-ff", "-d", "--", path]);
|
|
1453
1453
|
});
|
|
1454
1454
|
}
|
|
1455
1455
|
async applySelection(document, includedLineIndexes, options = { reverse: false, wholeFile: false }) {
|