@contrail/cli 3.5.7-alpha.30ba14d → 3.5.7-alpha.4f4573d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/auth/login.js +2 -1
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ $ npm install -g @contrail/cli
|
|
|
17
17
|
$ contrail COMMAND
|
|
18
18
|
running command...
|
|
19
19
|
$ contrail (--version)
|
|
20
|
-
@contrail/cli/3.5.7-alpha.
|
|
20
|
+
@contrail/cli/3.5.7-alpha.4f4573d linux-x64 node-v24.22.1
|
|
21
21
|
$ contrail --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ contrail COMMAND
|
package/dist/auth/login.js
CHANGED
|
@@ -172,8 +172,9 @@ async function signInWithStoredTokens() {
|
|
|
172
172
|
}
|
|
173
173
|
logger_1.default.debug('access token rejected, refreshing it...');
|
|
174
174
|
await refreshAccessToken();
|
|
175
|
+
await (0, sdk_1.getCurrentUser)();
|
|
175
176
|
}
|
|
176
|
-
return
|
|
177
|
+
return returnAndStoreConfig(sdk_1.Auth.config);
|
|
177
178
|
}
|
|
178
179
|
async function refreshCurrentUserOrg() {
|
|
179
180
|
logger_1.default.debug('refreshing current user org...');
|
package/oclif.manifest.json
CHANGED