From defffc4c8e3696409ddd26533bb58e9a0bc73769 Mon Sep 17 00:00:00 2001 From: Elio Struyf Date: Tue, 12 Oct 2021 09:12:18 +0200 Subject: [PATCH] Remove unused settings --- src/commands/Template.ts | 1 - src/helpers/ContentType.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/commands/Template.ts b/src/commands/Template.ts index cd67a3a9..c7cdecd1 100644 --- a/src/commands/Template.ts +++ b/src/commands/Template.ts @@ -95,7 +95,6 @@ export class Template { */ public static async create(folderPath: string) { const folder = Settings.get(SETTING_TEMPLATES_FOLDER); - const prefix = Settings.get(SETTING_TEMPLATES_PREFIX); const contentTypes = ContentType.getAll(); if (!folderPath) { diff --git a/src/helpers/ContentType.ts b/src/helpers/ContentType.ts index b8bc8e79..b7500fe5 100644 --- a/src/helpers/ContentType.ts +++ b/src/helpers/ContentType.ts @@ -50,7 +50,6 @@ export class ContentType { } private static async create(contentType: IContentType, folderPath: string) { - const prefix = Settings.get(SETTING_TEMPLATES_PREFIX); const titleValue = await Questions.ContentTitle(); if (!titleValue) {