Skip to content

Commit 4641da6

Browse files
Jack AdamJack Adam
authored andcommitted
fixed exit codes
1 parent 3cf000c commit 4641da6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

parser.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def parse_css():
3333

3434
if not classes and not ids:
3535
print('No .css files in this directory!')
36-
exit(5)
36+
exit(1)
3737
else:
3838
return (remove_dups(classes), remove_dups(ids))
3939

@@ -65,6 +65,6 @@ def parse_html():
6565

6666
if not cl and not id:
6767
print('No .html files in this directory!')
68-
exit(6)
68+
exit(2)
6969
else:
7070
return (list(cl), list(id))

0 commit comments

Comments
 (0)