chore: standardize popd calls
This commit is contained in:
2
.github/commands/bump-azure
vendored
2
.github/commands/bump-azure
vendored
@@ -45,7 +45,7 @@ main() {
|
||||
echo "=====> Creating upstream pull request"
|
||||
../$GH_FOLDER/bin/gh pr create --head dokku:dokku-$VERSION --repo Azure/azure-quickstart-templates --title 'Update dokku-vm dokku version to 0.23.7' --body ''
|
||||
|
||||
popd >/dev/null
|
||||
popd &>/dev/null
|
||||
}
|
||||
|
||||
main "$@"
|
||||
|
||||
2
.github/commands/ci-run
vendored
2
.github/commands/ci-run
vendored
@@ -7,7 +7,7 @@ main() {
|
||||
mkdir -p test-results/bats
|
||||
pushd tests/unit >/dev/null
|
||||
bats --report-formatter junit --output ../../test-results/bats "$FILE_NAME.bats"
|
||||
popd >/dev/null
|
||||
popd &>/dev/null
|
||||
|
||||
ls -lah test-results/bats
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user