Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Assets download shouldn't use CWD if there is no config file #107

Merged
merged 1 commit into from
May 14, 2024

Conversation

jlewi
Copy link
Owner

@jlewi jlewi commented May 14, 2024

  • When a user runs assets download they may not have created a .foyle/config.yaml file yet

  • As a result the ConfigDir will be the empty string and assets will be put into the local directory

  • To solve this if the ConfigFile is empty we return the default config directory.

Fix #103

* When a user runs assets download they may not have created a .foyle/config.yaml
  file yet

* As a result the ConfigDir will be the empty string and assets will be put into the local directory
* To solve this if the ConfigFile is empty we return the default config directory.
Copy link

netlify bot commented May 14, 2024

Deploy Preview for foyle canceled.

Name Link
🔨 Latest commit 37dbca0
🔍 Latest deploy log https://app.netlify.com/sites/foyle/deploys/6643e4b88f5002000864eaea

@jlewi jlewi changed the title Fix assets download Assets download shouldn't use CWD if there is no config file May 14, 2024
@jlewi jlewi enabled auto-merge (squash) May 14, 2024 22:25
@jlewi jlewi merged commit b517998 into main May 14, 2024
5 checks passed
@jlewi jlewi deleted the jlewi/fixdownload branch May 14, 2024 22:26
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.

assets download uses CWD
1 participant