Skip to content

Conversation

@codeanpeace
Copy link

Configuration files are normally dotfiles – filename preceded by a dot to hide from GUI – but Edge Impulse breaks this convention since its config file is located at ~/edge-impulse-config.json rather than ~/.edge-impulse-config.json. This updates the constructor function in config.ts to look for a hidden dotfile config before falling back to the non hidden config file. This should hopefully let those that care convert the Edge Impulse config file into a dotfile while not affecting others.

note: this is very much a naive simple approach as I'm unfamiliar with the entirety of this CLI

Configuration files are normally dotfiles – filename preceded by a dot to hide from GUI – but Edge Impulse breaks this convention since its config file is located at `~/edge-impulse-config.json` rather than `~/.edge-impulse-config.json`. This updates the constructor function in `config.ts` to look for a hidden dotfile config before falling back to the non hidden config file. This should hopefully let those that care convert the Edge Impulse config file into a dotfile while not affecting others.

note: this is very much a naive simple approach as I'm unfamiliar with the entirety of this CLI
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.

1 participant