From c9b256070b19abd557687cfac9f4f814ca146181 Mon Sep 17 00:00:00 2001 From: JayChen Date: Tue, 18 Jun 2019 13:51:27 +0800 Subject: [PATCH] fix error --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 68cd571..7a4bc62 100644 --- a/index.js +++ b/index.js @@ -38,7 +38,7 @@ const ecs = new AWS.ECS({ let image = taskDefinition.taskDefinition.containerDefinitions[0].image console.log('show image :: ', image) if (typeof gitHash === 'string' && gitHash.length > 0) { - image = image.split(':')[0] + ':' gitHash + image = image.split(':')[0] + ':' + gitHash taskDefinition.taskDefinition.containerDefinitions[0].image = image } console.log('show new image :: ', image)