-
Notifications
You must be signed in to change notification settings - Fork 123
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactoring to handle require errors
- Loading branch information
Showing
6 changed files
with
95 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
// generated file, run scripts/builderrors.mjs to update | ||
export const errors: Record<string, string> = { | ||
"loopback rx ovf": "loopback-rx-ovf", | ||
"can't connect, no HF2 nor JDUSB": "no-hf2", | ||
"esptool cannot connect": "esptool-cannot-connect", | ||
"I2C device not found or malfunctioning": | ||
"i2c-device-not-found-or-malfunctioning", | ||
"Unable to locate Node.JS v16+.": "terminal-nodemissing", | ||
"Install @devicescript/cli package": "terminal-notinstalled", | ||
'missing "devicescript" section': "missing-devicescript-section", | ||
} | ||
"loopback rx ovf": "loopback-rx-ovf", | ||
"can't connect, no HF2 nor JDUSB": "no-hf2", | ||
"esptool cannot connect": "esptool-cannot-connect", | ||
"I2C device not found or malfunctioning": "i2c-device-not-found-or-malfunctioning", | ||
"Unable to locate Node.JS v16+.": "terminal-nodemissing", | ||
"Install @devicescript/cli package": "terminal-notinstalled", | ||
"missing \"devicescript\" section": "missing-devicescript-section" | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters