diff --git a/src/extension.js b/src/extension.js index 3108632..855441b 100644 --- a/src/extension.js +++ b/src/extension.js @@ -9,8 +9,6 @@ const diff = require('semver/functions/diff'); function activate(context) { this.extensionName = 'ZelimirFedoran.solanabeach-vscode'; this.cntx = context; - - const cache_bust = '?v=' + Math.random(); const config = vscode.workspace.getConfiguration("solanabeach22"); @@ -61,9 +59,9 @@ function activate(context) { if (!isEnabled) { // delete solanabeach script tag if there - let output = html.replace(/^.*(\n`); + output = html.replace(/\<\/html\>/g, ` \n`); output += ''; fs.writeFileSync(htmlFile, output, "utf-8");