From 3122386b80d78f4724f27a8fe41c708ecc390bb9 Mon Sep 17 00:00:00 2001 From: Martin Costello Date: Tue, 9 Mar 2021 19:49:08 +0000 Subject: [PATCH 1/2] Fix typo in error message Change "credentails" to "credentials". --- src/ActionInputValidator/ValidatorFactory.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ActionInputValidator/ValidatorFactory.ts b/src/ActionInputValidator/ValidatorFactory.ts index 36535a47f..ff4a3f3bc 100644 --- a/src/ActionInputValidator/ValidatorFactory.ts +++ b/src/ActionInputValidator/ValidatorFactory.ts @@ -43,7 +43,7 @@ export class ValidatorFactory { } } else { - throw new Error("Valid credentails are not available. Add Azure Login action before this action or provide publish-profile input."); + throw new Error("Valid credentials are not available. Add Azure Login action before this action or provide publish-profile input."); } } @@ -60,4 +60,4 @@ export class ValidatorFactory { const appOS: string = await publishProfile.getAppOS(); actionParams.isLinux = appOS.includes(RuntimeConstants.Unix) || appOS.includes(RuntimeConstants.Unix.toLowerCase()); } -} \ No newline at end of file +} From 2009f46796953b30da2ca060d16028fa259aa462 Mon Sep 17 00:00:00 2001 From: martincostello Date: Wed, 10 Mar 2021 08:42:32 +0000 Subject: [PATCH 2/2] Fix typo in lib Also fix the typo in the built code in the lib folder. --- lib/ActionInputValidator/ValidatorFactory.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ActionInputValidator/ValidatorFactory.js b/lib/ActionInputValidator/ValidatorFactory.js index 4e6bb8177..eb1f32429 100644 --- a/lib/ActionInputValidator/ValidatorFactory.js +++ b/lib/ActionInputValidator/ValidatorFactory.js @@ -55,7 +55,7 @@ class ValidatorFactory { } } else { - throw new Error("Valid credentails are not available. Add Azure Login action before this action or provide publish-profile input."); + throw new Error("Valid credentials are not available. Add Azure Login action before this action or provide publish-profile input."); } }); }