fix: allow paths to asar archives to contain the .asar extension in directories (#20342)
This commit is contained in:
parent
4ac4b34ae9
commit
bf978e09e4
19 changed files with 204 additions and 183 deletions
2
spec/fixtures/module/no-asar.js
vendored
2
spec/fixtures/module/no-asar.js
vendored
|
@ -1,7 +1,7 @@
|
|||
const fs = require('fs')
|
||||
const path = require('path')
|
||||
|
||||
const stats = fs.statSync(path.join(__dirname, '..', 'asar', 'a.asar'))
|
||||
const stats = fs.statSync(path.join(__dirname, '..', 'test.asar', 'a.asar'))
|
||||
|
||||
const details = {
|
||||
isFile: stats.isFile(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue