mirror of
https://github.com/erlef/setup-beam.git
synced 2026-07-23 07:06:07 +00:00
Fix unit tests
Ref: https://github.com/erlef/setup-beam/pull/304#issuecomment-2373807154
This commit is contained in:
Vendored
+1
-1
@@ -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)
|
||||
},
|
||||
|
||||
+1
-1
@@ -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)
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user