Skip to content

Commit

Permalink
Fix SyntaxError for unexpected token on console.error (#1410)
Browse files Browse the repository at this point in the history
  • Loading branch information
geekygirlsarah authored Oct 17, 2021
1 parent 839a250 commit 7157ef4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/oref0-autotune-prep.js
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,7 @@ if (!module.parent) {
try {
var glucose_data = JSON.parse(fs.readFileSync(glucose_input, 'utf8'));
} catch (e) {
console.error("Warning: could not parse "+glucose_input);
return console.error("Warning: could not parse "+glucose_input", e);
return console.error("Warning: could not parse "+glucose_input, e);
}

var carb_data = { };
Expand Down

0 comments on commit 7157ef4

Please sign in to comment.