sillyspec 3.17.11 → 3.17.12
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/src/run.js +2 -2
package/package.json
CHANGED
package/src/run.js
CHANGED
|
@@ -1127,7 +1127,7 @@ export async function runCommand(args, cwd, specDir = null) {
|
|
|
1127
1127
|
|
|
1128
1128
|
// --reset
|
|
1129
1129
|
if (isReset) {
|
|
1130
|
-
return await resetStage(pm, progress, stageName, cwd, effectiveChange)
|
|
1130
|
+
return await resetStage(pm, progress, stageName, cwd, effectiveChange, platformOpts)
|
|
1131
1131
|
}
|
|
1132
1132
|
|
|
1133
1133
|
// 确保步骤已初始化
|
|
@@ -2262,7 +2262,7 @@ function showStatus(progress, stageName) {
|
|
|
2262
2262
|
})
|
|
2263
2263
|
}
|
|
2264
2264
|
|
|
2265
|
-
async function resetStage(pm, progress, stageName, cwd, changeName) {
|
|
2265
|
+
async function resetStage(pm, progress, stageName, cwd, changeName, platformOpts = {}) {
|
|
2266
2266
|
const defSteps = await getStageSteps(stageName, cwd, progress)
|
|
2267
2267
|
progress.stages[stageName] = {
|
|
2268
2268
|
status: 'in-progress',
|