From 1b701258705e27824c8f997efb389e420a51e562 Mon Sep 17 00:00:00 2001 From: Hao Luo Date: Tue, 4 Oct 2022 00:16:01 -0500 Subject: [PATCH] fixed linting errors Signed-off-by: Hao Luo --- .../scaffolder/actions/builtin/stress/index.ts | 16 ++++++++++++++++ .../actions/builtin/stress/waitWorkflow.ts | 18 +++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) diff --git a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/stress/index.ts b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/stress/index.ts index d6b15d0f2a..9260f41e2c 100644 --- a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/stress/index.ts +++ b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/stress/index.ts @@ -1 +1,17 @@ +/* + * Copyright 2021 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + export { waitWorkflow } from './waitWorkflow'; diff --git a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/stress/waitWorkflow.ts b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/stress/waitWorkflow.ts index 317d4ee4aa..eeb5603e19 100644 --- a/plugins/scaffolder-backend/src/scaffolder/actions/builtin/stress/waitWorkflow.ts +++ b/plugins/scaffolder-backend/src/scaffolder/actions/builtin/stress/waitWorkflow.ts @@ -1,4 +1,20 @@ -import { createTemplateAction } from '@backstage/plugin-scaffolder-backend'; +/* + * Copyright 2021 The Backstage Authors + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import { createTemplateAction } from '../../createTemplateAction'; export function waitWorkflow() { type InputParameters = {