Skip to content

Commit

Permalink
feat: show info about the --pass-with-no-tests flag when no pomsky …
Browse files Browse the repository at this point in the history
…files were found
  • Loading branch information
Aloso committed Dec 21, 2024
1 parent 71e8bec commit d00dbcd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pomsky-bin/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ pub(crate) fn test(logger: &Logger, args: GlobalOptions, test_args: TestOptions)
exit(0);
} else {
logger.error().println("no `*.pomsky` files found to test");
logger.note().println("run with `--pass-with-no-tests` to ignore this error");
exit(5);
}
}
Expand Down

0 comments on commit d00dbcd

Please sign in to comment.