Skip to content

Commit

Permalink
Merge pull request #3801 from vkotovv/grammar-fixes
Browse files Browse the repository at this point in the history
Fixed grammar: 'does not exists' -> 'does not exist'
  • Loading branch information
wallet77 authored Jul 16, 2018
2 parents fb8357e + 10d5c9c commit 9bb37a6
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -920,7 +920,7 @@ pm2.destroy(cb) // Close and delete all pm2 related files of this session
- keymetrics linking after pm2 update is done once all apps are started
- pm2 list processes are now sorted by name instead id
- #2248 livescript support added in development mode
- The client/server file called Satan.js does not exists anymore. It has been replaced by the file combo ./lib/Client.js and ./lib/Daemon.js
- The client/server file called Satan.js does not exist anymore. It has been replaced by the file combo ./lib/Client.js and ./lib/Daemon.js
- PM2 --no-daemon is better now

### Breaking change
Expand Down
2 changes: 1 addition & 1 deletion bin/pm2
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ if (_arr.indexOf('--no-daemon') > -1) {
// Start daemon if it does not exist
//
// Function checks if --no-daemon option is present,
// and starts daemon in the same process if it does not exists
// and starts daemon in the same process if it does not exist
//
console.log('pm2 launched in no-daemon mode (you can add DEBUG="*" env variable to get more messages)');

Expand Down
2 changes: 1 addition & 1 deletion lib/API/Containerizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ module.exports = function(CLI) {

fs.stat(docker_filepath, function(err, stat) {
if (err) {
// Dockerfile does not exists, generate one
// Dockerfile does not exist, generate one
// console.log(chalk.blue.bold('Generating new Dockerfile'));
if (opts.force == true) {
return resolve(generateDockerfile(docker_filepath, main_script, {
Expand Down
2 changes: 1 addition & 1 deletion lib/API/Monit.js
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ Monit.refresh = function(processes) {
//this is to avoid a print issue when the process is restarted for example
//we might also check for the pid but restarted|restarting will be rendered bad
if(this.bars[proc.pm_id] && proc.pm2_env.status !== this.bars[proc.pm_id].status) {
debug('bars for %s does not exists', proc.pm_id);
debug('bars for %s does not exist', proc.pm_id);
this.addProcesses(processes);
break;
}
Expand Down
4 changes: 2 additions & 2 deletions lib/Common.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ Common.prepareAppConf = function(opts, app) {
app.pm_exec_path = path.resolve(cwd, app.script);


// If script does not exists after resolution
// If script does not exist after resolution
if (!fs.existsSync(app.pm_exec_path)) {
var ckd;
// Try resolve command available in $PATH
Expand Down Expand Up @@ -221,7 +221,7 @@ Common.prepareAppConf = function(opts, app) {

var dir = path.dirname(path.resolve(cwd, af));
if (!fs.existsSync(dir)) {
Common.printError(cst.PREFIX_MSG_WARNING + 'Folder does not exists: ' + dir);
Common.printError(cst.PREFIX_MSG_WARNING + 'Folder does not exist: ' + dir);
Common.printOut(cst.PREFIX_MSG + 'Creating folder: ' + dir);
require('mkdirp')(dir, function(err) {
if (!err) return;
Expand Down
2 changes: 1 addition & 1 deletion lib/tools/xdg-open
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ check_vendor_prefix()
check_output_file()
{
# if the file exists, check if it is writeable
# if it does not exists, check if we are allowed to write on the directory
# if it does not exist, check if we are allowed to write on the directory
if [ -e "$1" ]; then
if [ ! -w "$1" ]; then
exit_failure_file_permission_write "no permission to write to file '$1'"
Expand Down
26 changes: 13 additions & 13 deletions test/e2e/logs/log-entire.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ $pm2 start throw-later.js -i 1 -o out.log -e err.log -l entire.log

test

head ">> START CLUSTERMODE (ENTIRE DO NOT EXISTS)"
head ">> START CLUSTERMODE (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -i 1 -o out.log -e err.log

Expand All @@ -78,7 +78,7 @@ $pm2 start throw-later.js -i 1 -o out.log -e err.log -l entire.log --merge-logs

test

head ">> START CLUSTERMODE WITH --merge-logs (ENTIRE DO NOT EXISTS)"
head ">> START CLUSTERMODE WITH --merge-logs (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -i 1 -o out.log -e err.log --merge-logs

Expand All @@ -91,7 +91,7 @@ $pm2 start throw-later.js -o out.log -e err.log -l entire.log

test

head ">> START FORKMODE (ENTIRE DO NOT EXISTS)"
head ">> START FORKMODE (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -o out.log -e err.log

Expand All @@ -103,7 +103,7 @@ $pm2 start throw-later.js -o out.log -e err.log -l entire.log --merge-logs

test

head ">> START FORKMODE WITH --merge-logs (ENTIRE DO NOT EXISTS)"
head ">> START FORKMODE WITH --merge-logs (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -o out.log -e err.log --merge-logs

Expand All @@ -117,7 +117,7 @@ $pm2 reloadLogs

test

head ">> RELOAD LOGS (ENTIRE DO NOT EXISTS)"
head ">> RELOAD LOGS (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -o out.log -e err.log --merge-logs

Expand All @@ -133,7 +133,7 @@ $pm2 restart all

test

head ">> RESTART (ENTIRE DO NOT EXISTS)"
head ">> RESTART (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -o out.log -e err.log --merge-logs

Expand All @@ -149,7 +149,7 @@ $pm2 reload all

test

head ">> RELOAD (ENTIRE DO NOT EXISTS)"
head ">> RELOAD (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -o out.log -e err.log --merge-logs

Expand All @@ -166,12 +166,12 @@ spec "\"entire log path\" should exists."

test

head ">> DESCRIBE (ENTIRE DO NOT EXISTS)"
head ">> DESCRIBE (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -o out.log -e err.log --merge-logs

$pm2 desc "throw-later" | grep -w "entire log path"
ispec "\"entire log path\" should not exists."
ispec "\"entire log path\" should not exist."

test "NE"

Expand All @@ -183,7 +183,7 @@ $pm2 flush

test

head ">> FLUSH (ENTIRE DO NOT EXISTS)"
head ">> FLUSH (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -o out.log -e err.log --merge-logs

Expand All @@ -200,12 +200,12 @@ spec "\"entire log path\" should exists."

test

head ">> JLIST (ENTIRE DO NOT EXISTS)"
head ">> JLIST (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later.js -o out.log -e err.log --merge-logs

$pm2 jlist | grep -w "pm_log_path"
ispec "\"entire log path\" should not exists."
ispec "\"entire log path\" should not exist."

test "NE"

Expand All @@ -215,7 +215,7 @@ $pm2 start throw-later.json

test

head ">> START JSON (ENTIRE DO NOT EXISTS)"
head ">> START JSON (ENTIRE DOES NOT EXIST)"

$pm2 start throw-later1.json

Expand Down
2 changes: 1 addition & 1 deletion test/e2e/modules/get-set.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ spec "Should key exists"

$pm2 unset key1
cat ~/.pm2/module_conf.json | grep "key1"
ispec "Should key not exists"
ispec "Should key does not exist"

rm -rf ~/.pm2

0 comments on commit 9bb37a6

Please sign in to comment.