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(command): Do not run with -it if not on a TTY #91

Merged
merged 2 commits into from Dec 18, 2017
Merged

fix(command): Do not run with -it if not on a TTY #91

merged 2 commits into from Dec 18, 2017

Conversation

TomFrost
Copy link
Member

A TTY is not provided on some CI test runners (notably, AWS CodeBuild), and results in Binci failing to run with the message the input device is not a TTY. This change only connects the TTY if stdout itself is a TTY.

(Note: still testing this change)

@codecov-io
Copy link

Codecov Report

Merging #91 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           master    #91   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files          11     11           
  Lines         373    377    +4     
=====================================
+ Hits          373    377    +4
Impacted Files Coverage Δ
src/command.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 12e2e49...949cb14. Read the comment docs.

@ksafranski
Copy link
Member

Clinton Approves

@TomFrost
Copy link
Member Author

Tested on AWS CodeBuild and lookin' sexy.

@TomFrost TomFrost merged commit 5fd60b8 into master Dec 18, 2017
@TomFrost TomFrost deleted the tty branch December 18, 2017 18:47
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.

None yet

3 participants