diff --git a/lib/internal/watch_mode/files_watcher.js b/lib/internal/watch_mode/files_watcher.js index 3510f38d023fad..9e18b9ffe3bce4 100644 --- a/lib/internal/watch_mode/files_watcher.js +++ b/lib/internal/watch_mode/files_watcher.js @@ -1,6 +1,7 @@ 'use strict'; const { + Error, SafeMap, SafeSet, StringPrototypeStartsWith, @@ -91,7 +92,7 @@ class FilesWatcher extends EventEmitter { filterFile(file) { if (process.platform !== 'win32' && process.platform !== 'darwin') { - throw new Error("TMP DEBUG"); + throw new Error('TMP DEBUG'); // eslint-disable-line } this.watchPath(dirname(file)); this.#filteredFiles.add(file);