remove node_modules and .gitignore them
This commit is contained in:
-9
@@ -1,9 +0,0 @@
|
||||
import { promises as fsPromises } from "fs";
|
||||
const { readFile } = fsPromises;
|
||||
const filePromisesHash = {};
|
||||
export const slurpFile = (path, options) => {
|
||||
if (!filePromisesHash[path] || options?.ignoreCache) {
|
||||
filePromisesHash[path] = readFile(path, "utf8");
|
||||
}
|
||||
return filePromisesHash[path];
|
||||
};
|
||||
Reference in New Issue
Block a user