Skip to content

Commit

Permalink
chore: fix check error
Browse files Browse the repository at this point in the history
  • Loading branch information
iosh committed Aug 9, 2024
1 parent a4ee057 commit 122a562
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/before_all.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
const {isDev, mustacheRender} = require('./snowpack.utils')
const path = require('path')
const {ensureDirSync} = require('fs-extra')
const {PACKAGE_VERSION} = require('@fluent-wallet/inner-utils')
const packageJson = require('../package.json')

const extDir = path.resolve(__dirname, '../packages/browser-extension')

ensureDirSync(path.resolve(extDir, 'build'))
ensureDirSync(path.resolve(extDir, 'build/popup'))
ensureDirSync(path.resolve(extDir, 'build/background'))

const version = PACKAGE_VERSION
const version = packageJson.version

mustacheRender(
path.resolve(extDir, 'manifest.json.mustache'),
Expand Down

0 comments on commit 122a562

Please sign in to comment.