Skip to content

Commit

Permalink
add a flag on to the sls object to let it know SFE is enabled
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dschep committed May 7, 2019
1 parent 3e47743 commit 9b23b3b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ class ServerlessEnterprisePlugin {
return
}

sls.enterpriseEnabled = true

// Defaults
this.sls = sls
this.state = {} // Useful for storing data across hooks
Expand Down

0 comments on commit 9b23b3b

Please sign in to comment.