From 9b34ba57bd61f04c11a17efe584fdcde0eb6db11 Mon Sep 17 00:00:00 2001 From: Andrew McNutt <42548400+amcnutt8400@users.noreply.github.com> Date: Mon, 1 May 2023 13:17:44 -0700 Subject: [PATCH] Serverless was throwing a deprication warning that was blocking the demo from running. After the syntax was updated the demo ran without issue. --- serverless.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/serverless.yml b/serverless.yml index cc190dc..d8352ab 100644 --- a/serverless.yml +++ b/serverless.yml @@ -38,10 +38,10 @@ provider: package: excludeDevDependencies: true - exclude: - - ./** - - "!demo/**" - - "!node_modules/uuid/**" + patterns: + - "!./**" + - "demo/**" + - "node_modules/uuid/**" custom: region: us-east-1