diff --git a/dist/index.js b/dist/index.js index b1a8e899..8ca5c49a 100644 --- a/dist/index.js +++ b/dist/index.js @@ -10040,7 +10040,7 @@ async function install(toolName, opts) { const bindir = path.join(cachePath, 'bin') const oldPath = path.join(cachePath, 'rebar3') const newPath = path.join(bindir, 'rebar3') - fs.mkdirSync(bindir) + fs.mkdirSync(bindir, { recursive: true }) fs.renameSync(oldPath, newPath) fs.chmodSync(newPath, 0o755) }, diff --git a/src/setup-beam.js b/src/setup-beam.js index 41babb98..9b4ecdab 100644 --- a/src/setup-beam.js +++ b/src/setup-beam.js @@ -940,7 +940,7 @@ async function install(toolName, opts) { const bindir = path.join(cachePath, 'bin') const oldPath = path.join(cachePath, 'rebar3') const newPath = path.join(bindir, 'rebar3') - fs.mkdirSync(bindir) + fs.mkdirSync(bindir, { recursive: true }) fs.renameSync(oldPath, newPath) fs.chmodSync(newPath, 0o755) },