* Set progress and task string for a stage * @param done Demical progress (1 is done) * @param task Task progress string to show user
(done: number, task: string)
| 58 | * @param task Task progress string to show user |
| 59 | */ |
| 60 | setStageProgress(done: number, task: string) { |
| 61 | if (!this._done) { |
| 62 | this._stageProgressDone = Math.min(done, 1); |
| 63 | this._stageProgressTask = task; |
| 64 | this._fireProgress(); |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | done(stageTask: string) { |
| 69 | if (!this._done) { |
no test coverage detected