fix: allow paths to asar archives to contain the .asar extension in directories (#20342)

This commit is contained in:
Milan Burda 2019-10-02 06:33:07 +02:00 committed by Cheng Zhao
parent 4ac4b34ae9
commit bf978e09e4
19 changed files with 204 additions and 183 deletions

View file

@ -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(),