-
-
Notifications
You must be signed in to change notification settings - Fork 63
Closed
Description
In https://github.com/ruby-syntax-tree/syntax_tree/pull/152/files#diff-9c0147bbfba8210004d93e758fd167a09f12f0749003f15bd8ea5f41da995f9bR390, I believe the conditional changed from
$stdin.tty? || arguments.any? to $stdin.tty? && (arguments.any? || options.scripts.any?). This seems to alter the conditional to prevent non-tty stdin from using FileItem types. Instead you get the following warning:
[warn] stdin
The listed files did not match the expected format.
This popped up for me when I tried to upgrade syntax_tree and it broke CI checks I had previously setup.
If this was intentional, is there a better recommended way to run stree:check in CI?
Adverbly
Metadata
Metadata
Assignees
Labels
No labels