Skip to content

Commit

Permalink
Fix incorrect deprecation warnings (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluekeyes authored Feb 2, 2024
1 parent 44cb54a commit 9ce76b2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/preview/preview-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,7 @@ export class PreviewManager {
const autoNamingFormat = config.get<string>('export.autoNamingFormat');
if (
autoNamingFormat !== undefined &&
autoNamingFormat !== null &&
this.config.exportNameFormat === DEFAULT_CONFIG.exportNameFormat
) {
this.loggingService.logWarning(
Expand All @@ -392,6 +393,7 @@ export class PreviewManager {
);
if (
useAutoNamingExport !== undefined &&
useAutoNamingExport !== null &&
this.config.skipSaveDialog === DEFAULT_CONFIG.skipSaveDialog
) {
this.loggingService.logWarning(
Expand Down

0 comments on commit 9ce76b2

Please sign in to comment.