mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-27 08:02:01 +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 {
|
class NuxtEdgePublisher {
|
||||||
static copyBin(moduleName, binName) {
|
static copyBin(moduleName, binName) {
|
||||||
const binFile = resolve(__dirname, 'bin', binName)
|
const binFile = resolve(__dirname, '..', 'bin', binName)
|
||||||
const moduleBin = resolve(__dirname, moduleName, 'bin')
|
const moduleBin = resolve(__dirname, '..', moduleName, 'bin')
|
||||||
ensureDirSync(moduleBin)
|
ensureDirSync(moduleBin)
|
||||||
copySync(binFile, resolve(moduleBin, binName))
|
copySync(binFile, resolve(moduleBin, binName))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user