1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-25 15:29:32 -05:00

fix(core): fix typo in error message of print function (#10456)

This commit is contained in:
Aditya Pandit 2021-05-01 19:50:20 +05:30 committed by GitHub
parent bb12c7a57a
commit 012da3ae1e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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;
};

View file

@ -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