Answer stability round 2: keep the line break that ends a heredoc, read a run of separators as one, check every untagged compose image, and reject a non-object tool input
This commit is contained in:
+1
-1
@@ -6,4 +6,4 @@ sys.path.insert(0, str(pathlib.Path(__file__).resolve().parent))
|
||||
|
||||
from rule_hook import main
|
||||
|
||||
sys.exit(main.main(sys.argv[1:], "" if sys.argv[1:] else sys.stdin.read()))
|
||||
sys.exit(main.main(sys.argv[1:], "" if sys.argv[1:] or sys.stdin.isatty() else sys.stdin.read()))
|
||||
|
||||
Reference in New Issue
Block a user