| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 080368b commit 3cfb313
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1397,6 +1397,7 @@ fs.open('myfile', 'wx', (err, fd) => { | |||
| 1397 | 1397 | fs.exists('myfile', (exists) => { | |
| 1398 | 1398 | if (exists) { | |
| 1399 | 1399 | fs.open('myfile', 'r', (err, fd) => { | |
| 1400 | + if (err) throw err; | ||
| 1400 | 1401 | readMyData(fd); | |
| 1401 | 1402 | }); | |
| 1402 | 1403 | } else { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments