From 9883bca9816182adf487068e07c975d9de76e21c Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Mon, 10 May 2021 09:17:28 -0400 Subject: [PATCH] rm commented code --- lib/index.ts | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/lib/index.ts b/lib/index.ts index b66e98a..9d56862 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -1,26 +1,7 @@ #! /usr/bin/env node var nativeApp = require('../native'); -const fs = require('fs/promises') -interface IConfig { - include?: string[], - exclude?: string[] -} -// const INCRE_PATH = "incre.config.json" async function main() : Promise { - // try { - // await fs.stat(INCRE_PATH); - - // } catch { - // console.error(`Unable to find ${INCRE_PATH}`); - // process.exit(1); - // } - // const file = await fs.readFile(INCRE_PATH); - // const json = JSON.parse(file.toString()) as IConfig; - // if(!json.include || json.include.length < 1) { - // console.error("included files not defined") - // process.exit(1); - // } nativeApp.init(); }