Skip to content

Commit

Permalink
Fix path
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammed committed Mar 16, 2023
1 parent c7fa4c2 commit b9a2e48
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions update.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,10 @@ if (process.platform != "win32") {
}

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("target \"","target = \"")
npmrc = npmrc.replace("runtime \"","runtime = \"")
fs.writeFileSync('./.npmrc',npmrc)
fs.writeFileSync('./lens/.npmrc',npmrc)

0 comments on commit b9a2e48

Please sign in to comment.