Skip to content

Commit

Permalink
Remove boolean converter
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack committed Apr 8, 2024
1 parent 3bd3282 commit 7088a98
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/cli/src/commands/pg/settings/log-statement.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import {Args} from '@oclif/core'
import heredoc from 'tsheredoc'
import {PGSettingsCommand, type Setting, type SettingKey, booleanConverter} from '../../../lib/pg/setter'
import {PGSettingsCommand, type Setting, type SettingKey} from '../../../lib/pg/setter'

export default class LogStatement extends PGSettingsCommand {
static description = heredoc(`
Expand All @@ -19,8 +19,8 @@ export default class LogStatement extends PGSettingsCommand {

protected settingKey: SettingKey = 'log_statement'

protected convertValue(val: boolean): boolean {
return booleanConverter(val)
protected convertValue(val: string): string {
return val
}

protected explain(setting: Setting) {
Expand Down

0 comments on commit 7088a98

Please sign in to comment.