diff --git a/doc/option-definition.md b/doc/option-definition.md index 3735e43..258e0f1 100644 --- a/doc/option-definition.md +++ b/doc/option-definition.md @@ -60,7 +60,6 @@ const fs = require('fs') class FileDetails { constructor (filename) { - const fs = require('fs') this.filename = filename this.exists = fs.existsSync(filename) } diff --git a/lib/option-definition.js b/lib/option-definition.js index d418f7b..0388a94 100644 --- a/lib/option-definition.js +++ b/lib/option-definition.js @@ -52,7 +52,6 @@ class OptionDefinition { * * class FileDetails { * constructor (filename) { - * const fs = require('fs') * this.filename = filename * this.exists = fs.existsSync(filename) * }