Run fs.readFileSync before fs.statSync will cause ESP32 exception #6890
Unanswered
espruino-discuss3
asked this question in
ESP32
Replies: 1 comment
-
Posted at 2017-05-09 by Wilberforce Added as a github issue. Posted at 2017-05-17 by Wilberforce @LawrenceDon2014 This has been fixed, it will be in a Travis build. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Posted at 2017-05-09 by LawrenceDon2014
Run fs.readFileSync before fs.statSync will cause ESP32 exception.
example:
var fs=require("fs");
fs.writeFileSync("temp.txt", "hello 123");
fs.readFileSync("temp.txt");
fs.statSync("temp.txt");
espruino version 1v92
console output:
Attachments:
Beta Was this translation helpful? Give feedback.
All reactions