projecta-rrr 1.9.9 → 1.9.10
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/package.json +1 -1
- package/rrr/lib/install-roots.js +3 -3
package/package.json
CHANGED
package/rrr/lib/install-roots.js
CHANGED
|
@@ -323,10 +323,10 @@ function getInstallInfo(options = {}) {
|
|
|
323
323
|
function detectAndQuarantineDuplicates(options = {}) {
|
|
324
324
|
const { configDir, dryRun = false, quiet = false } = options;
|
|
325
325
|
const roots = getCanonicalRoots({ configDir });
|
|
326
|
-
const
|
|
326
|
+
const quarantineBase = roots.quarantineRoot;
|
|
327
327
|
|
|
328
328
|
// Ensure quarantine directory exists
|
|
329
|
-
fs.mkdirSync(
|
|
329
|
+
fs.mkdirSync(quarantineBase, { recursive: true });
|
|
330
330
|
|
|
331
331
|
// Detect all candidate roots
|
|
332
332
|
const candidates = detectAllCandidateRoots({ configDir });
|
|
@@ -349,7 +349,7 @@ function detectAndQuarantineDuplicates(options = {}) {
|
|
|
349
349
|
if (!dryRun) {
|
|
350
350
|
const result = quarantineRoot(
|
|
351
351
|
candidate.path,
|
|
352
|
-
|
|
352
|
+
quarantineBase,
|
|
353
353
|
`Duplicate/legacy command root detected (${candidate.type})`
|
|
354
354
|
);
|
|
355
355
|
|