Skip to content

Commit

Permalink
Merge pull request #29 from baquan1708/fix/typo-in-command-module
Browse files Browse the repository at this point in the history
Fix typo in command module
  • Loading branch information
koichimurakami authored Oct 10, 2024
2 parents f8acc30 + 623e1f0 commit 50e87d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/src/commands/command.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export class CommandService implements OnModuleInit {
}

onModuleInit() {
if (!this.options.disableDefaulHandler) {
if (!this.options.disableDefaultHandler) {
this[DATA_SYNC_HANDLER] = [this.dataSyncDdsHandler]
}
if (this.options.dataSyncHandlers?.length) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export interface CommandModuleOptions {
tableName: string
skipError?: boolean // true will skip previous command error
dataSyncHandlers?: Type<IDataSyncHandler>[]
disableDefaulHandler?: boolean // true will reset defaul data sync handlers
disableDefaultHandler?: boolean // true will reset default data sync handlers
}

0 comments on commit 50e87d6

Please sign in to comment.