@stacksjs/path 0.74.32 → 0.74.33
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 +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -593,12 +593,12 @@ function ensureRuntimeDirectories() {
|
|
|
593
593
|
const legacyPath = projectPath(legacy);
|
|
594
594
|
const targetPath = target();
|
|
595
595
|
try {
|
|
596
|
-
mkdirSync(targetPath, { recursive: true });
|
|
597
596
|
const stats = lstatSync(legacyPath, { throwIfNoEntry: false });
|
|
598
597
|
if (!stats) {
|
|
599
598
|
results.push({ legacy: legacyPath, target: targetPath, cleared: true });
|
|
600
599
|
continue;
|
|
601
600
|
}
|
|
601
|
+
mkdirSync(targetPath, { recursive: true });
|
|
602
602
|
if (stats.isSymbolicLink()) {
|
|
603
603
|
const pointsAtTarget = resolve2(dirname(legacyPath), readlinkSync(legacyPath)) === resolve2(targetPath);
|
|
604
604
|
if (!pointsAtTarget) {
|