Skip to content

Commit 8330b5e

Browse files
committed
update snapshot!
1 parent b49c2d0 commit 8330b5e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

packages/app-builder-lib/src/asar/asarUtil.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export class AsarPackager {
162162
}
163163

164164
// not a symlink, stream directly
165-
if (file === realPathFile) {
165+
if (!stat.isSymbolicLink()) {
166166
return {
167167
...config,
168168
type: "file",

test/snapshots/HoistedNodeModuleTest.js.snap

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28314,6 +28314,18 @@ exports[`isInstallDepsBefore=true > two package nested symlink in pnpm workspace
2831428314
exports[`isInstallDepsBefore=true > two package nested symlink in pnpm workspace 2`] = `
2831528315
{
2831628316
"files": {
28317+
"dist": {
28318+
"files": {
28319+
"native": {
28320+
"files": {
28321+
"better_sqlite3.node": {
28322+
"executable": true,
28323+
"size": "<size>",
28324+
},
28325+
},
28326+
},
28327+
},
28328+
},
2831728329
"index.html": {
2831828330
"size": "<size>",
2831928331
},

0 commit comments

Comments
 (0)