Skip to content

Commit

Permalink
Make standard happy
Browse files Browse the repository at this point in the history
  • Loading branch information
SukkaW committed Oct 24, 2023
1 parent fbfc9c7 commit 90deef2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ensure/file.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -37,7 +37,7 @@ async function createFile(file) {
}
}

function createFileSync(file) {
function createFileSync (file) {
let stats
try {
stats = fs.statSync(file)
Expand Down

0 comments on commit 90deef2

Please sign in to comment.