From 5ca599b381d94d558c96c94bc878783c3f7cfb6e Mon Sep 17 00:00:00 2001 From: Kiss Miklos Date: Sat, 24 Sep 2022 17:55:39 +0200 Subject: [PATCH] fix lint stuff Signed-off-by: Kiss Miklos --- .changeset/dull-rocks-warn.md | 2 +- .../src/scaffolder/tasks/NunjucksWorkflowRunner.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.changeset/dull-rocks-warn.md b/.changeset/dull-rocks-warn.md index 7bd13ae6a1..0ccf4f20cb 100644 --- a/.changeset/dull-rocks-warn.md +++ b/.changeset/dull-rocks-warn.md @@ -2,4 +2,4 @@ '@backstage/plugin-scaffolder-backend': minor --- -Added a new property called `additionalTemplateGlobals` which allowes you to add global functions to the scaffolder nunjucks templates. +Added a new property called `additionalTemplateGlobals` which allows you to add global functions to the scaffolder nunjucks templates. diff --git a/plugins/scaffolder-backend/src/scaffolder/tasks/NunjucksWorkflowRunner.ts b/plugins/scaffolder-backend/src/scaffolder/tasks/NunjucksWorkflowRunner.ts index eb6683e32b..a9ed5bab8a 100644 --- a/plugins/scaffolder-backend/src/scaffolder/tasks/NunjucksWorkflowRunner.ts +++ b/plugins/scaffolder-backend/src/scaffolder/tasks/NunjucksWorkflowRunner.ts @@ -189,7 +189,6 @@ export class NunjucksWorkflowRunner implements WorkflowRunner { ); const { integrations } = this.options; - console.log(this.options.additionalTemplateGlobals, '@@@%%%%%%%%%%@@@'); const renderTemplate = await SecureTemplater.loadRenderer({ // TODO(blam): let's work out how we can deprecate this. // We shouldn't really need to be exposing these now we can deal with