@serverless/platform-sdk
Advanced tools
Comparing version 2.0.1 to 2.0.2-5-gc35c02b
@@ -51,2 +51,4 @@ 'use strict'; | ||
loggedInUser.enterprise.timeLastLogout = Math.round(+new Date() / 1000); | ||
configFile.userId = null; | ||
} | ||
@@ -53,0 +55,0 @@ |
@@ -87,3 +87,3 @@ 'use strict'; | ||
* Write Config File | ||
* - Writes a .serverlessrc file on the local machine in the root dir. | ||
* - Writes a .serverlessrc file on the local machine in the root dir | ||
*/ | ||
@@ -107,2 +107,5 @@ | ||
var config = readConfigFile(); | ||
if (!config.userId) { | ||
return null; | ||
} | ||
var user = (0, _ramda.path)(['users', config.userId, 'dashboard'], config); | ||
@@ -109,0 +112,0 @@ if (!user || !user.username) { |
{ | ||
"name": "@serverless/platform-sdk", | ||
"version": "2.0.1", | ||
"version": "2.0.2-5-gc35c02b", | ||
"description": "Serverless Platform SDK", | ||
@@ -5,0 +5,0 @@ "author": "Serverless, Inc.", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
173833
1900
1