diff options
Diffstat (limited to 'lib/fs.js')
-rw-r--r-- | lib/fs.js | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1357,9 +1357,8 @@ function FSWatcher() { if (status < 0) { self._handle.close(); const error = !filename ? - errnoException(status, 'Error watching file for changes:') : - errnoException(status, - `Error watching file ${filename} for changes:`); + errnoException(status, 'Error watching file for changes:') : + errnoException(status, `Error watching file ${filename} for changes:`); error.filename = filename; self.emit('error', error); } else { |