Skip to content

Commit b6b7b2d

Browse files
authored
fix more ttys (#96)
1 parent b07b25f commit b6b7b2d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

test/go-report-card-test/run-report-card-test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function fail() {
1212
trap fail ERR
1313

1414
docker build --build-arg=GOPROXY=direct -t go-report-card-cli $SCRIPTPATH
15-
if [[ $(docker run -it -v $SCRIPTPATH/../../:/app go-report-card-cli /go/bin/goimports -l /app/) ]]; then
15+
if [[ $(docker run -i -v $SCRIPTPATH/../../:/app go-report-card-cli /go/bin/goimports -l /app/) ]]; then
1616
echo "❌ goimports found a problem in go source files. See above for the files with problems."
1717
EXIT_CODE=2
1818
else

test/readme-test/run-readme-codeblocks

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ trap exit_and_fail INT ERR
1313
docker build --target=builder --build-arg="GOPROXY=direct" -t codeblocks -f $SCRIPTPATH/../../Dockerfile $SCRIPTPATH/../../
1414
docker build -t rundoc -f $SCRIPTPATH/rundoc-Dockerfile $SCRIPTPATH/
1515
function rd() {
16-
docker run -it --rm -v $SCRIPTPATH/../../:/aeis rundoc rundoc "$@"
16+
docker run -i --rm -v $SCRIPTPATH/../../:/aeis rundoc rundoc "$@"
1717
}
1818

1919
rundoc_output=$(rd list-blocks /aeis/README.md)
@@ -35,7 +35,7 @@ for i in "${!example_files[@]}"; do
3535
example_file="${example_files[$i]}"
3636
example_bin=$(echo $example_file | cut -d'.' -f1)
3737
mkdir -p $BUILD_DIR/examples
38-
docker run -it -e GOOS=$OS -e GOARCH=amd64 -v $BUILD_DIR:/amazon-ec2-instance-selector/build --rm codeblocks go build -o build/examples/$example_bin $example_file
38+
docker run -i -e GOOS=$OS -e GOARCH=amd64 -v $BUILD_DIR:/amazon-ec2-instance-selector/build --rm codeblocks go build -o build/examples/$example_bin $example_file
3939
$BUILD_DIR/examples/$example_bin
4040
echo "$example_file Executed Successfully!"
4141
fi

0 commit comments

Comments
 (0)