Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: parliament now supports piping individual files via stdin #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rossreicks
Copy link

@rossreicks rossreicks commented Jan 20, 2023

Update call to parliament to work with versions greater than 0.4.6.

Rather than using the --file keyword, use the pipe operator to pass the file via stdin. For some reason the command substitution is causing the parliament library to think there is a stdin being passed in and its throwing the below error

This fixed the error:

parliament: error: You cannot pass a file with --file and use stdin together

Will resolve the following issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant