mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix: bin folder name
This commit is contained in:
parent
dca1425cfe
commit
67528f1ba3
@ -6,8 +6,8 @@ const { readFileSync, writeFileSync, copySync, ensureDirSync } = require('fs-ext
|
||||
|
||||
class NuxtEdgePublisher {
|
||||
static copyBin(moduleName, binName) {
|
||||
const binFile = resolve(__dirname, 'bin', binName)
|
||||
const moduleBin = resolve(__dirname, moduleName, 'bin')
|
||||
const binFile = resolve(__dirname, '..', 'bin', binName)
|
||||
const moduleBin = resolve(__dirname, '..', moduleName, 'bin')
|
||||
ensureDirSync(moduleBin)
|
||||
copySync(binFile, resolve(moduleBin, binName))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user