Skip to content

Commit 019398e

Browse files
committed
fixup! Add globbing info
Signed-off-by: Darshan Sen <raisinten@gmail.com>
1 parent b7f5638 commit 019398e

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

docs/virtual-file-system-requirements.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,10 @@ embedded `file.txt` file would use `/a/b/app.asar/file.txt` as the path.
7070

7171
## Globbing
7272

73-
`fs.statSync(process.execPath).isDirectory()` will return `false` and
74-
`fs.statSync(process.execPath).isFile()` will return `true`. That way, if code
73+
`fs.statSync(process.execPath).isDirectory()` will return `true` and
74+
`fs.statSync(process.execPath).isFile()` will return `false`. That way, if code
7575
within the single-executable does naive globbing using an off-the-shelf glob
76-
library, VFS file paths, which are considered internal to the single-executable,
77-
would not interfere with the actual file paths.
76+
library, paths inside the VFS would also get picked up.
7877

7978
## Accept file paths in the VFS as arguments
8079

0 commit comments

Comments
 (0)