Skip to content

Commit

Permalink
Add set/get Config #13
Browse files Browse the repository at this point in the history
  • Loading branch information
a6b8 committed Mar 17, 2024
1 parent b4d3294 commit 57c2fac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Exporter } from './exporter/Exporter.mjs'
import { Exporter } from './task/Exporter.mjs'
import { getDemoDataSorted, getDemoDataUnsorted, sendDemoData, getDemoRoutes, getDemoKeys } from './helpers/demodata.mjs'
import { printStatus } from './helpers/mixed.mjs'

Expand Down
2 changes: 1 addition & 1 deletion src/exporter/Exporter.mjs → src/task/Exporter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ class Exporter extends EventEmitter {
const [ value, key ] = a
if( value === undefined ) {
messages.push( `Constructor variable '${key}' is undefined.` )
} else this.if( typeof value !== 'boolean' ) {
} else if( typeof value !== 'boolean' ) {
messages.push( `Constructor variable '${key}' is not type of 'boolean'.` )
}
} )
Expand Down

0 comments on commit 57c2fac

Please # to comment.