Fixed an issue where was invoked before it was defined in the case of a venv
This commit is contained in:
1 changed files with 6 additions and 1 deletions
@@ -52,8 +52,8 @@ for arg in "$@"; do
process_option $arg
done
# If enabled, tell nose to collect coverage data
if [ $coverage -eq 1 ]; then
${wrapper} coverage erase
noseopts="$noseopts --with-coverage --cover-package=nova"
fi
@@ -116,6 +116,11 @@ then
fi
fi
# Delete old coverage data from previous runs
if [ $coverage -eq 1 ]; then
${wrapper} coverage erase
fi
if [ $just_pep8 -eq 1 ]; then
run_pep8
exit
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.