Skip to content

Commit b897c79

Browse files
committed
Use === instead of ==
1 parent 785b07a commit b897c79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/base64.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const isFilePromise = (file: string | Buffer): Promise<boolean> =>
99
if (err) {
1010
reject(err);
1111
}
12-
if (stats == undefined) {
12+
if (stats === undefined) {
1313
resolve(false);
1414
}
1515
resolve(stats.isFile());

0 commit comments

Comments
 (0)