Skip to content

Commit

Permalink
Update pkg-index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeseda committed Apr 16, 2024
1 parent 7cf70df commit d1b440f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/pkg-index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#! /usr/bin/env node

console.log(process.stdin.isTTY ? '•' : '')

if (process.stdin.isTTY) {
process.stderr.write('\n\x1b[41m\x1b[37m\x1b[1m DEPRECATION NOTICE: \x1b[0m \x1b[31m\x1b[1mThe Begin Deploy CLI is now updated via npm\x1b[0m\n')
process.stderr.write('\x1b[1mPlease run "npm install -g @begin/deploy" to install the latest version\x1b[0m\n\n')
console.log('\x1b[41m\x1b[37m\x1b[1m DEPRECATION NOTICE: \x1b[0m \x1b[31m\x1b[1mThe Begin Deploy CLI is now updated via npm\x1b[0m')
console.log('\x1b[1mPlease run "npm install -g @begin/deploy" to install the latest version\x1b[0m\n')
}

require('./index')()

0 comments on commit d1b440f

Please sign in to comment.