mirror of
https://github.com/LukeHagar/ytdl-sub.git
synced 2025-12-06 04:22:12 +00:00
bash fix
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
# Run within root directory
|
||||
|
||||
if [ $1 = "check" ]; then
|
||||
if [[ $1 = "check" ]]; then
|
||||
isort . --check-only --diff \
|
||||
&& black . --check \
|
||||
&& pylint src/ \
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# Run within root directory
|
||||
|
||||
if [ $1 = "html" ]; then
|
||||
if [[ $1 = "html" ]]; then
|
||||
coverage run -m pytest && coverage html
|
||||
else
|
||||
coverage run -m pytest && coverage report
|
||||
|
||||
Reference in New Issue
Block a user