Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ggodlewski committed Sep 18, 2023
1 parent 292a6fd commit f8331b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/containers/transform/TransformContainer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ export class TransformContainer extends Container {
}

async run(rootFolderId: FileId) {
if (!this.userConfigService.config.transform_subdir.startsWith('/')) {
if (!(this.userConfigService.config.transform_subdir || '').startsWith('/')) {
this.logger.warn('Content subdirectory must be set and start with /');
return;
}
Expand Down

0 comments on commit f8331b2

Please sign in to comment.