diff --git a/src/functions/nginx.js b/src/functions/nginx.js index 5080fef..d5419c3 100644 --- a/src/functions/nginx.js +++ b/src/functions/nginx.js @@ -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;