argh copypasta fail

This commit is contained in:
Rich Harris
2017-12-17 21:07:34 -05:00
parent ecc7b80d91
commit dc5e2543cb

View File

@@ -29,8 +29,7 @@ module.exports = function create_app(src, dest, routes, options) {
fs.writeFileSync(file, main);
// need to fudge the mtime, because webpack is soft in the head
const stats = fs.statSync(file);
const { atime, mtime } = statSync(file);
const { atime, mtime } = fs.statSync(file);
fs.utimesSync(file, atime.getTime() - 999999, mtime.getTime() - 999999);
}