Skip to content

Commit bd27017

Browse files
authored
Merge pull request #897 from motdotla/adjust-tip-for-click
adjust clickable tip
2 parents 4186757 + 8a9ce45 commit bd27017

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

lib/main.js

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ const version = packageJson.version
88

99
// Array of tips to display randomly
1010
const TIPS = [
11-
'🔐 encrypt with dotenvx: https://dotenvx.com',
11+
'🔐 encrypt with Dotenvx: https://dotenvx.com',
1212
'🔐 prevent committing .env to code: https://dotenvx.com/precommit',
1313
'🔐 prevent building .env in docker: https://dotenvx.com/prebuild',
14+
'📡 observe env with Radar: https://dotenvx.com/radar',
15+
'📡 auto-backup env with Radar: https://dotenvx.com/radar',
16+
'📡 version env with Radar: https://dotenvx.com/radar',
1417
'🛠️ run anywhere with `dotenvx run -- yourcommand`',
1518
'⚙️ specify custom .env file path with { path: \'/custom/path/.env\' }',
1619
'⚙️ enable debug logging with { debug: true }',
@@ -311,7 +314,7 @@ function configDotenv (options) {
311314
}
312315
}
313316

314-
_log(`injecting env (${keysCount}) from ${shortPaths.join(',')} ${dim(`(tip: ${_getRandomTip()})`)}`)
317+
_log(`injecting env (${keysCount}) from ${shortPaths.join(',')} ${dim(`-- tip: ${_getRandomTip()}`)}`)
315318
}
316319

317320
if (lastError) {

tests/test-config.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -332,6 +332,9 @@ t.test('displays random tips from the tips array', ct => {
332332
'🔐 encrypt with dotenvx: https://dotenvx.com',
333333
'🔐 prevent committing .env to code: https://dotenvx.com/precommit',
334334
'🔐 prevent building .env in docker: https://dotenvx.com/prebuild',
335+
'📡 observe env with Radar: https://dotenvx.com/radar',
336+
'📡 auto-backup env with Radar: https://dotenvx.com/radar',
337+
'📡 version env with Radar: https://dotenvx.com/radar',
335338
'🛠️ run anywhere with `dotenvx run -- yourcommand`',
336339
'⚙️ specify custom .env file path with { path: \'/custom/path/.env\' }',
337340
'⚙️ enable debug logging with { debug: true }',

0 commit comments

Comments
 (0)