Skip to content

Commit

Permalink
fix(core): fix typo in error message of print function (#10456)
Browse files Browse the repository at this point in the history
  • Loading branch information
adityapandit17 authored May 1, 2021
1 parent bb12c7a commit 012da3a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/bindings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -285,7 +285,7 @@ fn print(
if arg_len == 2 {
let int_val = match is_err_arg.integer_value(scope) {
Some(v) => v,
None => return throw_type_error(scope, "Invalid arugment. Argument 2 should indicate wheter or not to print to stderr."),
None => return throw_type_error(scope, "Invalid argument. Argument 2 should indicate whether or not to print to stderr."),
};
is_err = int_val != 0;
};
Expand Down
2 changes: 1 addition & 1 deletion docs/contributing/web_platform_tests.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ it.
This will check that the python3 (or `python.exe` on Windows) is actually
Python 3.

You can specify the following flags to customize bahaviour:
You can specify the following flags to customize behaviour:

```
--rebuild
Expand Down

0 comments on commit 012da3a

Please sign in to comment.