Skip to content

Commit

Permalink
ignore skip status
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam committed Jan 18, 2024
1 parent 427a041 commit 6056314
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/core/runner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,7 @@ export default class Runner {
this.#currentJourney = journey;
if (journey.skip) {
throw new Error(
`Journey ${journey.name} is skipped. Please remove the skip annotation from the journey to try again.`
`Journey ${journey.name} is skipped. Please remove the journey.skip annotation and try again.`
);
}
/**
Expand Down Expand Up @@ -467,9 +467,6 @@ export default class Runner {
*/
if (dryRun) {
this.#reporter.onJourneyRegister?.(journey);
result[journey.name] = {
status: 'skipped',
};
continue;
}
if (!journey.isMatch(match, tags) || journey.skip) {
Expand Down

0 comments on commit 6056314

Please sign in to comment.