diff --git a/scripts/release-edge b/scripts/release-edge index 08881fd820..241b43d454 100755 --- a/scripts/release-edge +++ b/scripts/release-edge @@ -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)) }