Closed pdehaan closed 9 years ago
fs module wasn't included (but needed for readFileSync()), and filename was always undefined since filepath wasn't defined yet.
fs
readFileSync()
filename
undefined
filepath
fs
module wasn't included (but needed forreadFileSync()
), andfilename
was alwaysundefined
sincefilepath
wasn't defined yet.