mirror of
https://github.com/hanzoai/esbuild.git
synced 2026-09-24 16:58:50 +00:00
use '' instead of null to omit build hashes
This commit is contained in:
+1
-1
@@ -125,7 +125,7 @@ function generateBinaryHashes() {
|
||||
try {
|
||||
bytes = fs.readFileSync(path.join(repoDir, 'npm', key))
|
||||
} catch {
|
||||
hashes[key] = null
|
||||
hashes[key] = ''
|
||||
continue
|
||||
}
|
||||
hashes[key] = crypto.createHash('sha256').update(bytes).digest('hex')
|
||||
|
||||
Reference in New Issue
Block a user