From 850c66d1b6d19040ce997f830df63d38c32b479c Mon Sep 17 00:00:00 2001 From: Benjamin Staneck Date: Thu, 3 Oct 2019 04:04:43 +0200 Subject: [PATCH] run linter --- lib/utils/file.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/utils/file.ts b/lib/utils/file.ts index 6ed6a1dd..710aa730 100644 --- a/lib/utils/file.ts +++ b/lib/utils/file.ts @@ -10,7 +10,7 @@ * PR: https://github.com/kevva/executable/pull/10 */ -import fs, {Stats} from "fs"; +import fs, {Stats} from 'fs'; export function isExecutable(fileStat: Stats): boolean { if (process.platform === 'win32') { @@ -20,7 +20,7 @@ export function isExecutable(fileStat: Stats): boolean { return Boolean(fileStat.mode & 0o0001 || fileStat.mode & 0o0010 || fileStat.mode & 0o0100); } -export function getBase64FileData(filePath: string): Promise { +export function getBase64FileData(filePath: string): Promise { return new Promise(resolve => { return fs.readFile(filePath, (err, data) => { if (err) { @@ -34,4 +34,4 @@ export function getBase64FileData(filePath: string): Promise { return resolve(base64Data); }); }); -}; +}