From 7caa15dbf756f68af2da0b022a6cf7caeba60f99 Mon Sep 17 00:00:00 2001 From: Joey van Dijk Date: Thu, 8 Jun 2017 10:42:19 +0200 Subject: [PATCH] fix Travis test --- .../aws/package/compile/events/apiGateway/lib/validate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js b/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js index ba663fb96..3855a7272 100644 --- a/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js +++ b/lib/plugins/aws/package/compile/events/apiGateway/lib/validate.js @@ -29,7 +29,7 @@ const DEFAULT_STATUS_CODES = { pattern: '[\\s\\S]*\\[502\\][\\s\\S]*', }, 504: { - pattern: '([\s\S]*\[504\][\s\S]*)|(^[Task timed out].*)', + pattern: '([\\s\\S]*\\[504\\][\\s\\S]*)|(^\[Task timed out\].*)', }, };