Created
March 14, 2017 09:22
-
-
Save welll/640de6c65cde22693a20e8f5f7c9a0b3 to your computer and use it in GitHub Desktop.
AvenueCode - Blog Post
This file contains hidden or 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
/* missing a RETURN statement */ | |
fs.readFile(`${filePath}`, (err, data) => { | |
if (err) { | |
console.log(`Error reading file: ${filePath}`) | |
} | |
//... | |
//code | |
//... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment