Skip to content

Commit

Permalink
ci: nginx
Browse files Browse the repository at this point in the history
fix nginx path
  • Loading branch information
gerard2perez committed Apr 11, 2017
1 parent 0e960bb commit 210e00e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/functions/nginx.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ async function getnginxpath () {
let cmd = 'nginx -t';
/* istanbul ignore next */
if (process.env.TRAVIS) {
return join(process.cwd(), 'etc', '/');
return join(process.cwd(), '..', 'etc', '/');
}
let log = await exec(cmd);
log = log.stdout || log.stderr;
Expand Down

0 comments on commit 210e00e

Please sign in to comment.