Fix unit tests

d73068e · Wojtek Mach · 2024-09-25 11:25

2 files +2 -2
Message
{commit_body(@commit)}

Files changed

modified dist/index.js
+1 −1
@@ -10040,7 +10040,7 @@ async function install(toolName, opts) {
10040 10040 const bindir = path.join(cachePath, 'bin')
10041 10041 const oldPath = path.join(cachePath, 'rebar3')
10042 10042 const newPath = path.join(bindir, 'rebar3')
10043 fs.mkdirSync(bindir)
10043 + fs.mkdirSync(bindir, { recursive: true })
10044 10044 fs.renameSync(oldPath, newPath)
10045 10045 fs.chmodSync(newPath, 0o755)
10046 10046 },
modified src/setup-beam.js
+1 −1
@@ -940,7 +940,7 @@ async function install(toolName, opts) {
940 940 const bindir = path.join(cachePath, 'bin')
941 941 const oldPath = path.join(cachePath, 'rebar3')
942 942 const newPath = path.join(bindir, 'rebar3')
943 fs.mkdirSync(bindir)
943 + fs.mkdirSync(bindir, { recursive: true })
944 944 fs.renameSync(oldPath, newPath)
945 945 fs.chmodSync(newPath, 0o755)
946 946 },

Parents: 074443e