From c1de442dd1013b8216e838cf3284528acba68083 Mon Sep 17 00:00:00 2001 From: Rich Harris Date: Sun, 17 Dec 2017 21:34:16 -0500 Subject: [PATCH] argh not again --- lib/utils/create_app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/create_app.js b/lib/utils/create_app.js index d808623..87f8e93 100644 --- a/lib/utils/create_app.js +++ b/lib/utils/create_app.js @@ -46,7 +46,7 @@ module.exports = function create_app(src, dest, routes, options) { fs.writeFileSync(server_routes, `${imports}\n\n${exports}`); - const { atime, mtime } = statSync(server_routes); + const { atime, mtime } = fs.statSync(server_routes); fs.utimesSync(server_routes, atime.getTime() - 999999, mtime.getTime() - 999999); }