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 57c2fac commit 557f52e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/task/Exporter.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Exporter extends EventEmitter {
#state


constructor( { silent=false, emitEvents=true } ) {
constructor( { silent, emitEvents } ) {
super()
const [ messages, comments ] = this.#validateConstructor( { silent, emitEvents } )

Expand Down
2 changes: 1 addition & 1 deletion tests/circle-ci.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const routes = [
}
]

const exporter = new Exporter()
const exporter = new Exporter( { 'silent': false, 'emitEvents': true } )
exporter.setRoutes( { routes } )
const result = exporter.sendData( {
'routeId': 'myRoute',
Expand Down

0 comments on commit 557f52e

Please # to comment.