diff --git a/index.js b/index.js index 3de8d4d..2e57f04 100644 --- a/index.js +++ b/index.js @@ -34,6 +34,7 @@ async function getSemVerBranches(regexString) { err += data.toString(); } }; + options.cwd = './'; await exec.exec(`${src}/get-semver-and-branch.sh`, [regexString], options); const { semanticVersion, branchName } = JSON.parse(output);