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

--localconf does nothing and --jitsuconf is broken #469

Open
hyperscientist opened this issue Sep 25, 2013 · 0 comments
Open

--localconf does nothing and --jitsuconf is broken #469

hyperscientist opened this issue Sep 25, 2013 · 0 comments

Comments

@hyperscientist
Copy link

I tried using alternative config files and failed every time.

Looking at the source code it seems like --localconf switch is dead - there's no code that would do anything with it.

Sadly also --jitsuconf is broken. Problem is with lib/jitsu/config.js file.

try {
  jitsu.config.env().file({
    file: jitsu.argv.jitsuconf || jitsu.argv.j || '.jitsuconf',
    dir: process.env.HOME,
    search: true
  });
}

This code will always start look for a jitsuconf file in home directory, while usually it is the case that we have project specific jitsu config inside project directory.

We can temporarly work around it, by launching jitsu deploy like so (if our project directory is inside home directory):
jitsu deploy --jitsuconf Workspace/myProject/.jitsuconf
(of course it's just an example)

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

No branches or pull requests

1 participant