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

fix: correct value for config path and robustify #130

Merged
merged 2 commits into from Sep 21, 2020

Commits on Sep 18, 2020

  1. fix: correct value for config path and robustify

    The hardcoded, initial value for the configuration path was set to
    `.faas/config`. But `configPath()` immediately sets this to the correct
    value of ~/.config. Both the create and init commands use `configPath()`
    to search for additional templates, if they exist, and were each doing
    `filepath.Join(configPath(), "faas", "templates")`. This commit also
    changes `configPath()` so that it is `~/.config/faas` and does so in a
    cross platform friendly way. If the `$HOME` directory cannot be
    determined, the config is assumed to be at `./.config/faas`.
    lance committed Sep 18, 2020
    Copy the full SHA
    538190c View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. Copy the full SHA
    b976626 View commit details
    Browse the repository at this point in the history