Fix path
This commit is contained in:
parent
c7fa4c2e9e
commit
b9a2e4871a
|
|
@ -15,8 +15,10 @@ if (process.platform != "win32") {
|
||||||
}
|
}
|
||||||
|
|
||||||
fs.writeFileSync('./lens/packages/open-lens/package.json', JSON.stringify(packagejson));
|
fs.writeFileSync('./lens/packages/open-lens/package.json', JSON.stringify(packagejson));
|
||||||
let npmrc = fs.readFileSync('./.npmrc','utf-8');
|
|
||||||
|
|
||||||
|
let npmrc = fs.readFileSync('./lens/.npmrc','utf-8');
|
||||||
npmrc = npmrc.replace("disturl \"","disturl = \"")
|
npmrc = npmrc.replace("disturl \"","disturl = \"")
|
||||||
npmrc = npmrc.replace("target \"","target = \"")
|
npmrc = npmrc.replace("target \"","target = \"")
|
||||||
npmrc = npmrc.replace("runtime \"","runtime = \"")
|
npmrc = npmrc.replace("runtime \"","runtime = \"")
|
||||||
fs.writeFileSync('./.npmrc',npmrc)
|
fs.writeFileSync('./lens/.npmrc',npmrc)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue