Skip to content

Commit

Permalink
fix: fixes wrong parameter used to copy the .conf file
Browse files Browse the repository at this point in the history
  • Loading branch information
gerard2perez committed Mar 25, 2017
1 parent 6988264 commit dc1b205
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/nginx.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default (new Command(__filename, 'helps bind the server to nginx'))
});
}
utils.write(path.join(process.cwd(), `${require(path.join(process.cwd(), 'package.json')).name}.conf`), nginxConf);
if (options.copy) {
if (options.install) {
await copyconf(`${scfg.name}.conf`);
}
});

0 comments on commit dc1b205

Please sign in to comment.