mirror of
https://github.com/Unitech/pm2.git
synced 2026-02-01 16:57:09 +00:00
Fixed grammar: 'does not exists' -> 'does not exist'
This commit is contained in:
parent
fb8357e32f
commit
10d5c9c74b
@ -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
|
||||
|
||||
2
bin/pm2
2
bin/pm2
@ -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)');
|
||||
|
||||
|
||||
@ -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, {
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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
|
||||
@ -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;
|
||||
|
||||
@ -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'"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user