Skip to content

Commit 6c6900f

Browse files
authored
[NFC] Shorten a WasmFS object literal (#19676)
Followup to #19634
1 parent 8b502b0 commit 6c6900f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/library_wasmfs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ FS.createPreloadedFile = FS_createPreloadedFile;
136136
// TODO: Consider simplifying this API, which for now matches the JS FS.
137137
var exists = !!FS.findObject(path);
138138
return {
139-
exists: exists,
139+
exists,
140140
object: {
141141
contents: exists ? FS.readFile(path) : null
142142
}

0 commit comments

Comments
 (0)