Merge pull request #18618 from RoadieHQ/edit-deprecation-warning-message

indicate the option that has been deprecated in warning
This commit is contained in:
Ben Lambert
2023-07-10 15:04:29 +02:00
committed by GitHub
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-scaffolder-backend': patch
---
Indicate the name of the option that is being deprecated in task deprecation warning.
@@ -150,7 +150,7 @@ export function createFetchTemplateAction(options: {
let renderFilename: boolean;
if (ctx.input.copyWithoutRender) {
ctx.logger.warn(
'[Deprecated] Please use copyWithoutTemplating instead.',
'[Deprecated] copyWithoutRender is deprecated Please use copyWithoutTemplating instead.',
);
copyOnlyPatterns = ctx.input.copyWithoutRender;
renderFilename = false;