Skip to content

Commit

Permalink
refactor: make "log" and "template" plural
Browse files Browse the repository at this point in the history
  • Loading branch information
ianshade committed Oct 5, 2023
1 parent 472273c commit ca08e63
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/deserializers.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ describe('deserializers', () => {
paths: {
media: 'media/',
data: 'data/',
log: 'log/',
template: 'templates/',
logs: 'log/',
templates: 'templates/',
},
channels: [
{
Expand Down
4 changes: 2 additions & 2 deletions src/deserializers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,9 +154,9 @@ function parseConfigPaths(config: any): InfoConfig['paths'] | undefined {
return paths
? {
media: parseString(paths, 'media-path'),
log: parseString(paths, 'log-path'),
logs: parseString(paths, 'log-path'),
data: parseString(paths, 'data-path'),
template: parseString(paths, 'template-path'),
templates: parseString(paths, 'template-path'),
}
: undefined
}
Expand Down
4 changes: 2 additions & 2 deletions src/parameters.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,9 +465,9 @@ export interface InfoConfig {
logLevel?: LogLevel
paths?: {
media?: string
log?: string
logs?: string
data?: string
template?: string
templates?: string
}
lockClearPhrase?: string
channels?: InfoChannelConfig[]
Expand Down

0 comments on commit ca08e63

Please sign in to comment.