microsoft / devicescript

TypeScript for Tiny IoT Devices (ESP32, RP2040, ...)
https://microsoft.github.io/devicescript/
MIT License
3.28k stars 118 forks source link

notify users that settings key is too long #445

Closed pelikhan closed 1 year ago

pelikhan commented 1 year ago

At the very least, readSetting should throw on a key that's too long.

The compiler should also issue a compile error on .env files with invalid keys.