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 */ /* eslint-disable */
/* auto-generated by NAPI-RS */ /* auto-generated by NAPI-RS */
const { existsSync, readFileSync } = require('fs') const { readFileSync } = require('fs')
const { join } = require('path')
let nativeBinding = null let nativeBinding = null
let localFileExisted = false const loadErrors = []
let loadErrors = []
const isMusl = () => { const isMusl = () => {
let musl = false let musl = false

View file

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