Update Package Version and display error instead of log

This commit is contained in:
Melissa LeBlanc-Williams 2023-06-10 11:55:15 -07:00
parent ac42d9463e
commit 3b0652ccce
3 changed files with 4 additions and 4 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "@adafruit/circuitpython-repl-js",
"version": "1.0.0",
"version": "1.2.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@adafruit/circuitpython-repl-js",
"version": "1.0.0",
"version": "1.2.2",
"license": "MIT",
"devDependencies": {}
}

View file

@ -3,7 +3,7 @@
"publishConfig": {
"registry": "https://npm.pkg.github.com"
},
"version": "1.0.0",
"version": "1.2.2",
"description": "A JavaScript Module to help with interfacing to the REPL on CircuitPython Devices over serial",
"main": "repl.js",
"dependencies": {

View file

@ -83,7 +83,7 @@ export class REPL {
}, this.promptTimeout
);
} catch (error) {
console.log("Awaiting prompt timed out.");
console.error("Awaiting prompt timed out.");
return false;
}
return true;