ngs-lang / ngs

Next Generation Shell (NGS)
https://ngs-lang.org/
GNU General Public License v3.0
1.49k stars 41 forks source link

Typo in Failed to do realpath() #612

Closed MinmoTech closed 1 year ago

MinmoTech commented 1 year ago

I get the following error when trying to call realpath()

[ERROR 2022-12-05 23:54:40 CET] +---------------------+
[ERROR 2022-12-05 23:54:40 CET] | Faied to realpath() |
[ERROR 2022-12-05 23:54:40 CET] +---------------------+
[ERROR 2022-12-05 23:54:40 CET] Exception of type CError occurred
[ERROR 2022-12-05 23:54:40 CET] Info: errno = <Int 2>
[ERROR 2022-12-05 23:54:40 CET] Info: errno_name = String of length 25: No such file or directory
[ERROR 2022-12-05 23:54:40 CET] Info: path = String of length 48: test
[ERROR 2022-12-05 23:54:40 CET] Frame 0: <builtin-stdlib>:8102:2 - 8102:35
[ERROR 2022-12-05 23:54:40 CET] Frame 1: <builtin-stdlib>:8076:21 - 8076:30 [in bootstrap_exception_catch_wrapper]
[ERROR 2022-12-05 23:54:40 CET] Frame 2: <builtin-stdlib>:8008:12 - 8008:24 [in bootstrap]
[ERROR 2022-12-05 23:54:40 CET] Frame 3: <command line -p switch>:2:115 - 2:123
[ERROR 2022-12-05 23:54:40 CET] Frame 4: <builtin-stdlib>:7678:4 - 7678:12 [in realpath]
[ERROR 2022-12-05 23:54:40 CET] Frame 5: <builtin-stdlib>:7672:28 - 7672:34 [in realpath]
+---------------------+
| Faied to realpath() |

It says Faied instead of Failed

ilyash-b commented 1 year ago

In dev branch