From 9b23b3bef1a6ed16673ef06a80fc4091fafd7b58 Mon Sep 17 00:00:00 2001 From: Daniel Schep Date: Tue, 7 May 2019 09:11:58 -0400 Subject: [PATCH] add a flag on to the sls object to let it know SFE is enabled this is different from the plugin just being loaded and necessary for SFO to determine if it needs to check the version of the plugin and issue a warning. could all be done in the plugin, but if we ever want to move to auto-update, the framework hsa to drive the actions --- src/lib/plugin.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/plugin.js b/src/lib/plugin.js index 277ef38b..316ca080 100644 --- a/src/lib/plugin.js +++ b/src/lib/plugin.js @@ -83,6 +83,8 @@ class ServerlessEnterprisePlugin { return } + sls.enterpriseEnabled = true + // Defaults this.sls = sls this.state = {} // Useful for storing data across hooks