Skip to content

fix: handle missing config file gracefully#119

Open
pocikode wants to merge 1 commit into
ApexOpsStudio:mainfrom
pocikode:fix/config-missing-crash
Open

fix: handle missing config file gracefully#119
pocikode wants to merge 1 commit into
ApexOpsStudio:mainfrom
pocikode:fix/config-missing-crash

Conversation

@pocikode

Copy link
Copy Markdown

Fixes #2

When ~/.config/task-cli/config.yaml doesn't exist, the app now creates the directory and a default config file instead of crashing with a FileNotFoundError.

Instead of crashing with a FileNotFoundError when config.yaml is
missing, create the config directory and a default config file.

Fixes ApexOpsStudio#2
@pocikode

Copy link
Copy Markdown
Author

/claim #2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix: Crash when config file missing

1 participant