openxiangda 1.0.217 → 1.0.218
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/lib/cli.js +8 -0
- package/package.json +1 -1
package/lib/cli.js
CHANGED
|
@@ -27408,6 +27408,14 @@ function getCandidateBuildControlFiles() {
|
|
|
27408
27408
|
return unique(files).sort();
|
|
27409
27409
|
}
|
|
27410
27410
|
|
|
27411
|
+
function isDirectory(value) {
|
|
27412
|
+
try {
|
|
27413
|
+
return fs.statSync(value).isDirectory();
|
|
27414
|
+
} catch {
|
|
27415
|
+
return false;
|
|
27416
|
+
}
|
|
27417
|
+
}
|
|
27418
|
+
|
|
27411
27419
|
function getCandidateSourceFiles(plan) {
|
|
27412
27420
|
const files = new Set(plan.changedFiles || []);
|
|
27413
27421
|
for (const file of getCandidateBuildControlFiles()) files.add(file);
|