diff --git a/src/executors/ExecutorDockerServerless.js b/src/executors/ExecutorDockerServerless.js index a4b61bf0..1b27f399 100644 --- a/src/executors/ExecutorDockerServerless.js +++ b/src/executors/ExecutorDockerServerless.js @@ -122,7 +122,7 @@ export class ExecutorDockerServerless extends ExecutorDocker { ) ); - // add token into clone url. + // add token into clone url if (process.env.GTM_CRYPT_GITHUB_TOKEN) { let decyptedToken = await KmsUtils.decrypt(process.env.GTM_CRYPT_GITHUB_TOKEN); task.options.env.GIT_CLONE = task.options.env.GIT_CLONE.replace('https://', `https://${decyptedToken}@`); diff --git a/src/executors/ExecutorDockerSonar.js b/src/executors/ExecutorDockerSonar.js index 928d003d..0ef353d6 100644 --- a/src/executors/ExecutorDockerSonar.js +++ b/src/executors/ExecutorDockerSonar.js @@ -90,7 +90,7 @@ export class ExecutorDockerSonar extends ExecutorDocker { ) ); - // add token into clone url. + // add token into clone url if (process.env.GTM_CRYPT_GITHUB_TOKEN) { let decyptedToken = await KmsUtils.decrypt(process.env.GTM_CRYPT_GITHUB_TOKEN); task.options.env.GIT_CLONE = task.options.env.GIT_CLONE.replace('https://', `https://${decyptedToken}@`);