Verified Commit 5941c5c7 authored by Aral Balkan's avatar Aral Balkan
Browse files

Update command no longer displays header twice when run by daemon

parent 23a8d549
......@@ -9,7 +9,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
### Fixed
- Regression: update check failure when running as daemon.
- Minor code improvements.
- Update command no longer displays the header twice in the log when run as a daemon.
- Other miscellaneous minor code improvements.
### Changed
......
......@@ -890,7 +890,7 @@ class Site {
if (appReference.includes('node')) {
appReference = `${appReference} ${path.join(__dirname, 'bin', 'site.js')}`
}
const updateCommand = `${appReference} update`
const updateCommand = `${appReference} update --dont-log-app-name-and-version`
childProcess.exec(updateCommand, options, (error, stdout, stderr) => {
if (error !== null) {
this.log(`\n ❌ ${clr('❨site.js❩ Error:', 'red')} Could not check for updates.\n`, error)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment