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 7983802 commit 35a7b15
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/pkg-index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
#! /usr/bin/env node

if (process.env.NODE_ENV !== 'testing') {
console.log('console.log')
console.error('console.error')
process.stderr.write('process.stderr.write\n')
process.stdout.write('process.stdout.write\n')

console.error('\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.error('\x1b[1mPlease run "npm install -g @begin/deploy" to install the latest version\x1b[0m\n')
}
Expand Down

0 comments on commit 35a7b15

Please sign in to comment.