Skip to content

Commit

Permalink
Merge pull request Unitech#4364 from sirhypernova/master
Browse files Browse the repository at this point in the history
Fix typos (environement -> environment)
  • Loading branch information
Unitech committed Oct 11, 2019
2 parents 0df74df + b13e5ad commit cfb438c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -1199,7 +1199,7 @@ New builtin metrics when starting a Node.js application:
- #2631 new pm2 monit command (blessed dashboard!)
- #2670 allow to expose a folder over http via `pm2 serve <path> <port>`
- #2617 fix startup script generation on macosx (launchd)
- #2650 new option to append env name to app name (used to allow the same app to be launched in different environement w/o name conflict)
- #2650 new option to append env name to app name (used to allow the same app to be launched in different environment w/o name conflict)
- #2671 allow to pass a delay to pm2-docker (`pm2-docker process.json --delay 10`)
- `pm2 ecosystem simple` to generate a simple ecosystem file
- aliasing: `pm2-dev <script>` <=> `pm2-dev start <script>`
Expand Down
2 changes: 1 addition & 1 deletion lib/API/CliUx.js
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ UX.describeTable = function(proc) {
console.log()
Common.printOut(chalk.white.italic(' Add your own code metrics: http://bit.ly/code-metrics'));
Common.printOut(chalk.white.italic(' Use `pm2 logs %s [--lines 1000]` to display logs'), pm2_env.name);
Common.printOut(chalk.white.italic(' Use `pm2 env %s` to display environement variables'), pm2_env.pm_id);
Common.printOut(chalk.white.italic(' Use `pm2 env %s` to display environment variables'), pm2_env.pm_id);
Common.printOut(chalk.white.italic(' Use `pm2 monit` to monitor CPU and Memory usage'), pm2_env.name);
};

Expand Down
2 changes: 1 addition & 1 deletion lib/API/pm2-plus/auth-strategies/CliAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ module.exports = class CliStrategy extends AuthStrategy {
const cb = this.callback

tryEach([
// try to find the token via the environement
// try to find the token via the environment
(next) => {
if (!process.env.PM2_IO_TOKEN) {
return next(new Error('No token in env'))
Expand Down
2 changes: 1 addition & 1 deletion lib/API/pm2-plus/auth-strategies/WebAuth.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ module.exports = class WebStrategy extends AuthStrategy {
})
}
async.tryEach([
// try to find the token via the environement
// try to find the token via the environment
(next) => {
if (!process.env.PM2_IO_TOKEN) {
return next(new Error('No token in env'))
Expand Down

0 comments on commit cfb438c

Please sign in to comment.