We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30545e4 commit a2f184cCopy full SHA for a2f184c
1 file changed
lib/init.js
@@ -19,6 +19,7 @@ import chalk from 'chalk'
19
import { onExit } from 'signal-exit'
20
import dotenv from 'dotenv'
21
import { addUserRootDotEnvFileIfNotExists } from './utils/env.js'
22
+import updateNotifier from 'update-notifier'
23
await addUserRootDotEnvFileIfNotExists()
24
dotenv.config({ override: true, path: [`${process.env.HOME}/.rh/.env.root`, '.env'] })
25
@@ -37,6 +38,7 @@ await checkIfBinExists('node')
37
38
await checkIfBinExists('npm')
39
await checkIfBinExists('git')
40
const cliPackageJson = await parseCliPackageJson()
41
+updateNotifier({ pkg: cliPackageJson }).notify()
42
await checkNode(cliPackageJson)
43
44
// parse args
0 commit comments