@dooer/dooer-test-env 1.17.0 → 1.17.1
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.
|
@@ -235,7 +235,15 @@ module.exports = {
|
|
|
235
235
|
}
|
|
236
236
|
const exp = remote.expiry(token)
|
|
237
237
|
if (exp && exp.expired) {
|
|
238
|
-
|
|
238
|
+
// For local an expired session is not a problem — it falls back to a minted service token —
|
|
239
|
+
// so saying EXPIRED there reads as breakage when nothing is broken.
|
|
240
|
+
console.log(
|
|
241
|
+
`${head}${
|
|
242
|
+
name === 'local'
|
|
243
|
+
? 'stale session ignored — uses a minted service token'
|
|
244
|
+
: chalk.yellow(`session EXPIRED ${exp.at.toISOString()}`)
|
|
245
|
+
}`
|
|
246
|
+
)
|
|
239
247
|
continue
|
|
240
248
|
}
|
|
241
249
|
let me = null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dooer/dooer-test-env",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.1",
|
|
4
4
|
"description": "Run the whole Dooer backend locally (staging DB minus customers), copy/purge customers between environments, and shred — one CLI.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"repository": "Dooer/cli-dooer-test-env",
|