@hyzyn/dsh-safe 0.12.0 → 0.12.1
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/wrap.js +8 -0
- package/package.json +1 -1
package/lib/wrap.js
CHANGED
|
@@ -117,6 +117,14 @@ export async function runWrapped(options) {
|
|
|
117
117
|
return code
|
|
118
118
|
}
|
|
119
119
|
if (!dryRun) persistFailure(invocation.profile, stderr)
|
|
120
|
+
// 重复挂载(同一 id 被多个 bundle/行挂载)发生在 include 挂载阶段,
|
|
121
|
+
// 早于 profile 层 disabled 覆盖的合并——禁用行管不住它,隔离无效。
|
|
122
|
+
// 直接给针对性指引并透传,不做无效的"禁用+重试"。
|
|
123
|
+
if (stderr.includes('duplicate loader entry id')) {
|
|
124
|
+
log(t('repairDuplicate'))
|
|
125
|
+
log(t('explainHint'))
|
|
126
|
+
return code
|
|
127
|
+
}
|
|
120
128
|
const known = collectKnownRows(invocation.profile)
|
|
121
129
|
const report = parseFailureReport(stderr)
|
|
122
130
|
let hits = matchFailures(report, known)
|