Skip to content

Commit

Permalink
remove locales skip optimization, new chrome doesnt work without loca…
Browse files Browse the repository at this point in the history
…lews
  • Loading branch information
pofider committed Apr 11, 2024
1 parent 2a59f2d commit f439657
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/jsreport-puppeteer-compile/lib/puppeteerCompile.js
Expand Up @@ -9,14 +9,6 @@ module.exports = async function (reporter, definition) {
const chromePath = path.dirname(chromeExecutablePath)
let chromeExecutableName = path.basename(chromeExecutablePath)

const localesPath = path.join(chromePath, 'locales')

if (fs.existsSync(localesPath)) {
fs.readdirSync(localesPath).forEach((f) => {
fs.unlinkSync(path.join(localesPath, f))
})
}

if (fs.existsSync(path.join(chromePath, 'interactive_ui_tests.exe'))) {
fs.unlinkSync(path.join(chromePath, 'interactive_ui_tests.exe'))
}
Expand Down

0 comments on commit f439657

Please sign in to comment.