Skip to content

Commit

Permalink
try printing without ansi
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeseda committed Apr 17, 2024
1 parent 548bac0 commit 9f51888
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ async function begin (params = {}) {
let isCI = args.input === false || (process.env.CI || !process.stdout.isTTY) || false
let params = { args, appVersion: version, cliDir, clientIDs, isCI, lang, printer }
if (!isCI && process.env.BEGIN_CLI_TYPE === 'BINARY') {
printer('IMPORTANT')
printer('\x1b[41m\x1b[37m\x1b[1m DEPRECATION NOTICE: \x1b[0m \x1b[31m\x1b[1mThe Begin Deploy CLI is now updated via npm\x1b[0m')
printer('\x1b[1mPlease run "npm install -g @begin/deploy" to install the latest version\x1b[0m\n')
}
Expand Down

0 comments on commit 9f51888

Please sign in to comment.