Skip to content

Commit 9fe2db6

Browse files
jerjouJon Wayne Parrott
authored and
Jon Wayne Parrott
committed
TRAVIS_COMMIT_RANGE isn't set on non-PRs (GoogleCloudPlatform#348)
1 parent 4767150 commit 9fe2db6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nox.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ def get_changed_files():
5959
# This is not a pull request.
6060
changed = subprocess.check_output(
6161
['git', 'show', '--pretty=format:', '--name-only',
62-
os.environ.get('TRAVIS_COMMIT_RANGE')])
62+
os.environ.get('TRAVIS_COMMIT')])
6363
elif pr is not None:
6464
changed = subprocess.check_output(
6565
['git', 'diff', '--name-only',

0 commit comments

Comments
 (0)