diff --git a/index.js b/index.js index cbd2ce1..7a603b8 100644 --- a/index.js +++ b/index.js @@ -33,8 +33,8 @@ try { await exec.exec(`ls ${path.dirname(binPath)}`); console.log(`Making zbctl (${binPath}) available`); core.addPath(path.dirname(binPath)); - const output = await exec.getExecOutput(`bash -c "zbctl ${command}"`); + const output = await exec.getExecOutput(`bash -c "shopt -s globstar && zbctl ${command}"`); core.setOutput("result", output.stdout); } catch (error) { core.setFailed(error.message); -} \ No newline at end of file +}