lucagrulla / node-tail

The zero dependency Node.js module for tailing a file
https://www.lucagrulla.com/node-tail/
MIT License
467 stars 76 forks source link

Error README example exception £Configuration #124

Closed krasuki closed 3 years ago

krasuki commented 3 years ago

Error in the exception example from : https://github.com/lucagrulla/node-tail/blob/master/README.md#configuration

Forget '(' for condition Expected =>

try {
  new Tail('missingFile.txt')
} catch (ex) {
  console.log(ex)
}
lucagrulla commented 3 years ago

Fixed.