We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5daee96 commit 5305861Copy full SHA for 5305861
build_tools/travis/flake8_diff.sh
@@ -24,7 +24,7 @@ echo "Remotes:"
24
git remote --verbose
25
26
# Find the remote with the project name (upstream in most cases)
27
-REMOTE=$(git remote -v | grep $PROJECT | cut -f1 | head -1)
+REMOTE=$(git remote -v | grep $PROJECT | cut -f1 | head -1 || echo '')
28
29
# Add a temporary remote if needed. For example this is necessary when
30
# Travis is configured to run in a fork. In this case 'origin' is the
0 commit comments