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?
Metadata
Metadata
Assignees
Labels
No labels