sillyspec 3.7.20 → 3.7.21
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 +1 -1
package/package.json
CHANGED
package/src/run.js
CHANGED
|
@@ -164,7 +164,7 @@ function runStage(progress, stageName, cwd) {
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
const steps = stageData.steps
|
|
167
|
-
|
|
167
|
+
let currentIdx = steps.findIndex(s => s.status !== 'completed' && s.status !== 'skipped')
|
|
168
168
|
|
|
169
169
|
if (currentIdx === -1) {
|
|
170
170
|
// 阶段已完成,自动重置,允许重复执行
|