Skip to content

Commit 76a2a07

Browse files
authored
chore: remove unuse variable (#346)
1 parent 28bcd3c commit 76a2a07

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

scripts/postbuild.ts

-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ async function run() {
1212
for (const file of files) {
1313
// eslint-disable-next-line no-console
1414
console.log('[postbuild]', basename(file))
15-
const name = basename(file, '.js')
1615
let code = await fs.readFile(file, 'utf8')
1716
code = code.replace('exports.default =', 'module.exports =')
1817
code += 'exports.default = module.exports;'

0 commit comments

Comments
 (0)