fix(cli): cleanup js binding template (#1984)

This commit is contained in:
LongYinan 2024-02-28 15:51:16 +08:00 committed by GitHub
parent 9abcb484ba
commit 19a13361d4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 8 deletions

View file

@ -21,12 +21,10 @@ export function createCjsBinding(
/* eslint-disable */
/* auto-generated by NAPI-RS */
const { existsSync, readFileSync } = require('fs')
const { join } = require('path')
const { readFileSync } = require('fs')
let nativeBinding = null
let localFileExisted = false
let loadErrors = []
const loadErrors = []
const isMusl = () => {
let musl = false

View file

@ -2,12 +2,10 @@
/* eslint-disable */
/* auto-generated by NAPI-RS */
const { existsSync, readFileSync } = require('fs')
const { join } = require('path')
const { readFileSync } = require('fs')
let nativeBinding = null
let localFileExisted = false
let loadErrors = []
const loadErrors = []
const isMusl = () => {
let musl = false