Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Improvements to getconf #452

Merged
merged 2 commits into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ all:

.PHONY: lint
lint:
mypy --config-file mypy.conf *.py slackclient localslackirc
mypy --config-file mypy.conf *.py slackclient localslackirc lsi-getconf

.PHONY: test
test: lint
Expand Down
3 changes: 3 additions & 0 deletions lsi-getconf
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,9 @@ def main() -> None:

# TODO chromium

if not cookies and not tokens:
sys.exit('Fail: Nothing was found')

print('# ==============')
if tokens:
print('# Tokens found:')
Expand Down
Loading