Skip to content

Commit b1e810b

Browse files
authored
Update xlsx.js
1 parent 271d77d commit b1e810b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/xlsx.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class Workbook {
1515
: this.sheetNames.includes((name += ""))
1616
? name
1717
: null;
18-
if (sname === null) throw new Error(`Sheet not found: ${name}`);
18+
if (sname == null) throw new Error(`Sheet not found: ${name}`);
1919
const sheet = this._.getWorksheet(sname);
2020
return extract(sheet, options);
2121
}

0 commit comments

Comments
 (0)