From 4dee1f2ce1d2cbfb54a429d660cb8ae438f3e13b Mon Sep 17 00:00:00 2001 From: Nick Chisiu Date: Fri, 24 Nov 2017 20:15:57 +0200 Subject: [PATCH] fixed functions checksum file deps --- CHANGELOG.md | 5 ++++- lib/common/checksums/index.js | 2 +- package.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0f2056e..75ffb1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ +## v1.1.20 - 2017-11-24 +- fixed functions checksum file deps + ## v1.1.18 - 2017-11-16 -- fixed packaging staff +- fixed packages on templates ## v1.1.18 - 2017-11-16 - major release diff --git a/lib/common/checksums/index.js b/lib/common/checksums/index.js index 1ce6bee..073af76 100644 --- a/lib/common/checksums/index.js +++ b/lib/common/checksums/index.js @@ -88,7 +88,7 @@ class Checksums { }; } - _.forEach(_.concat(paths, _.keys(this.tree.files)), (file) => { + _.forEach(_.concat(paths, this.tree.functions[functionName].deps), (file) => { this.parseFile(file, functionName); }); diff --git a/package.json b/package.json index 4fb4fc8..cf8207d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "squeezer-cli", - "version": "1.1.19", + "version": "1.1.20", "preferGlobal": true, "description": "Event-driven APIs & Web apps on functions, serverless ! Squeezer is a framework designed to help developers to get a better architecture on serverless zero-administration compute platforms with code that runs into cloud functions like [AWS Lambda](https://aws.amazon.com/documentation/lambda/) , [Azure Functions](https://azure.microsoft.com/en-us/services/functions/) , [Google Cloud Functions](https://cloud.google.com/functions/docs/) and [IBM OpenWhisk](https://developer.ibm.com/openwhisk/) .", "homepage": "https://squeezer.io/",