Open-Jellycore
Open-Jellycore copied to clipboard
import of non existent library fails to generate warning
Describe the bug
if code contains the line import nonexistantlibary
no warning is generated.
To Reproduce
Steps to reproduce the behavior:
- create a file
Crash.jelly
with the single lineimport nonexistantlibrary
- compile with the command
jelly Crash.jelly --export --out Crash.shortcut
- observe stdout of
Successfully Compiled Shortcut
Expected behavior
Strictly speaking, this is not an error since, if nothing from the libary was later referenced, the code did compile correctly. However, likely person writing the code could like to know.
Screenshots
If applicable, add screenshots to help explain your problem.
Information
- Device: [MacBook Pro 14-inch, 2021]
- OS: [Sonoma 14.5]
- Jellycuts Version [???, no access to version via jelly command] (Can be found in Settings -> About)
- Jailbroken? [No]
Additional context
If one attempted to import Shortcuts
and instead import Shortcust
(misspelling), an error likely be generated on the actual use of something from the Shortcuts library, but could lead to focus on a good line of code instead of the incorrect import line of code.