Skip to content

Commit d00dbcd

Browse files
committed
feat: show info about the --pass-with-no-tests flag when no pomsky files were found
1 parent 71e8bec commit d00dbcd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pomsky-bin/src/testing.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ pub(crate) fn test(logger: &Logger, args: GlobalOptions, test_args: TestOptions)
6969
exit(0);
7070
} else {
7171
logger.error().println("no `*.pomsky` files found to test");
72+
logger.note().println("run with `--pass-with-no-tests` to ignore this error");
7273
exit(5);
7374
}
7475
}

0 commit comments

Comments
 (0)