costclaw 0.13.1 → 0.13.2
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 +6 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -4434,6 +4434,11 @@ function repoRootFor(startDir) {
|
|
|
4434
4434
|
} catch {
|
|
4435
4435
|
return null;
|
|
4436
4436
|
}
|
|
4437
|
+
try {
|
|
4438
|
+
if (!statSync(dir).isDirectory()) return null;
|
|
4439
|
+
} catch {
|
|
4440
|
+
return null;
|
|
4441
|
+
}
|
|
4437
4442
|
for (let depth = 0; depth < 64; depth += 1) {
|
|
4438
4443
|
const dotGit = join(dir, ".git");
|
|
4439
4444
|
let stat4;
|
|
@@ -8171,7 +8176,7 @@ function parseApplyFlags(args) {
|
|
|
8171
8176
|
};
|
|
8172
8177
|
}
|
|
8173
8178
|
function cliVersion() {
|
|
8174
|
-
return true ? "0.13.
|
|
8179
|
+
return true ? "0.13.2" : "0.0.0-dev";
|
|
8175
8180
|
}
|
|
8176
8181
|
function isHelpRequest(command, args) {
|
|
8177
8182
|
if (command === void 0) return false;
|