Skip to content

Commit 2a12ca2

Browse files
Alexandre Steinalexcrichton
Alexandre Stein
authored andcommitted
Update mod.rs (#1852)
Using Typescript I have this warning: `./pkg/index.js Line 52:22: Expected '!==' and instead saw '!=' eqeqeq Search for the keywords to learn more about each warning. To ignore, add // eslint-disable-next-line to the line before. ` I guess this should solve the warning. Thank you for all the work.
1 parent 79cf4f6 commit 2a12ca2

File tree

1 file changed

+1
-1
lines changed
  • crates/cli-support/src/js

1 file changed

+1
-1
lines changed

crates/cli-support/src/js/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ impl<'a> Context<'a> {
950950
debug,
951951
encode_as_ascii,
952952
if self.config.debug {
953-
"if (ret.read != arg.length) throw new Error('failed to pass whole string');"
953+
"if (ret.read !== arg.length) throw new Error('failed to pass whole string');"
954954
} else {
955955
""
956956
},

0 commit comments

Comments
 (0)