Skip to content

Commit

Permalink
remove deprecation notice
Browse files Browse the repository at this point in the history
  • Loading branch information
tbeseda committed Apr 17, 2024
1 parent aa1aa71 commit 22d85ba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Alternatively, you can install Begin with npm: `npm i -g @begin/cli`.

## Running locally

Before running `npm run build` to create a local binary be sure to set the following environment variables:
Be sure to set the following environment variables:

```
export DEPLOY=main
Expand Down
4 changes: 0 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,6 @@ async function begin (params = {}) {
let cliDir = process.env.BEGIN_INSTALL || join(homedir(), '.begin')
let isCI = args.input === false || (process.env.CI || !process.stdout.isTTY) || false
let params = { args, appVersion: version, cliDir, clientIDs, isCI, lang, printer }

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')

await commands(params)
telemetry.end(params)
}
Expand Down

0 comments on commit 22d85ba

Please sign in to comment.