Skip to content

Conversation

niki4smirn
Copy link

Change Summary

What and Why:
The --config flag must now point to an existing file. Tests have been created to reflect this change.

Fixes #4382 and #4378.

Additionally, I noticed an inconsistency in how directory path passed to --config is handled. It seems that appConfigFilePaths attempts to process directory parameter. However, in such case, the switch statement would return an error. Since the --config flag is described as "Path to application configuration file," I don't believe directory support is necessary.


Documentation

  • Fresh Produce
  • In superfly/docs, or asked for help from docs team
  • n/a

@niki4smirn
Copy link
Author

Quick check-in: is there a preferred reviewer for changes under internal/command/command.go? Happy to tag the right person

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.

fly launch silently ignores --config if the config referenced doesn't exist
1 participant