Skip to content

Commit

Permalink
API doc example update
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Feb 6, 2018
1 parent e771f97 commit 11e9fc2
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion doc/option-definition.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ const fs = require('fs')

class FileDetails {
constructor (filename) {
const fs = require('fs')
this.filename = filename
this.exists = fs.existsSync(filename)
}
Expand Down
1 change: 0 additions & 1 deletion lib/option-definition.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ class OptionDefinition {
*
* class FileDetails {
* constructor (filename) {
* const fs = require('fs')
* this.filename = filename
* this.exists = fs.existsSync(filename)
* }
Expand Down

0 comments on commit 11e9fc2

Please sign in to comment.