diff --git a/lib/ensure/file.js b/lib/ensure/file.js index 82214c95..a55c2d96 100644 --- a/lib/ensure/file.js +++ b/lib/ensure/file.js @@ -5,7 +5,7 @@ const path = require('path') const fs = require('../fs') const mkdir = require('../mkdirs') -async function createFile(file) { +async function createFile (file) { let stats try { stats = await fs.stat(file) @@ -37,7 +37,7 @@ async function createFile(file) { } } -function createFileSync(file) { +function createFileSync (file) { let stats try { stats = fs.statSync(file)