File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1515# ###############################################################################
1616
1717# Get the working directory to the repo root.
18- cd " $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
19- cd " $( git rev-parse --show-toplevel) "
18+ cd " $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) " || exit
19+ cd " $( git rev-parse --show-toplevel) " || exit
2020
2121# Check if cirq/check/nbformat exists, if not grab it.
2222if [[ ! -f dev_tools/nbformat ]]; then
Original file line number Diff line number Diff line change 88# ###############################################################################
99
1010# Get the working directory to the repo root.
11- cd " $( dirname " ${BASH_SOURCE[0]} " ) "
12- cd " $( git rev-parse --show-toplevel) "
11+ cd " $( dirname " ${BASH_SOURCE[0]} " ) " || exit
12+ cd " $( git rev-parse --show-toplevel) " || exit
1313
1414# Add dev_tools to $PYTHONPATH so that pylint can find custom checkers
1515env PYTHONPATH=dev_tools pylint --jobs=0 --rcfile=dev_tools/.pylintrc " $@ " .
You can’t perform that action at this time.
0 commit comments