chore: resolve linting errors & warnings
This commit is contained in:
parent
63ce5e330b
commit
b0ef223c9d
11 changed files with 177 additions and 144 deletions
|
|
@ -35,7 +35,7 @@ export const walkDir = async function* (
|
|||
* @param modName Name of the module to purge from the require cache.
|
||||
*/
|
||||
export const purgeModuleAndDepsFromCache = (modName: string): void => {
|
||||
var modPath = require.resolve(modName);
|
||||
const modPath = require.resolve(modName);
|
||||
if (modPath == null) {
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue