Retractor
This commit is contained in:
5
src/utils/index.ts
Normal file
5
src/utils/index.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import * as fs from 'fs'
|
||||
|
||||
export const readFile = (file: string): any => {
|
||||
fs.readFileSync(file, {encoding: "utf-8"}).split("\r\n");
|
||||
}
|
||||
Reference in New Issue
Block a user