Commit 1b427211 authored by Philipp Nowinski's avatar Philipp Nowinski
Browse files

[FEATURE] don't display ad until the end of the lifecycle

parent 26a309d0
...@@ -34,7 +34,7 @@ module.exports = class task { ...@@ -34,7 +34,7 @@ module.exports = class task {
this._logger.info(`Starting task ${chalk.bold(this.constructor.name.toLowerCase())} in dev mode`); this._logger.info(`Starting task ${chalk.bold(this.constructor.name.toLowerCase())} in dev mode`);
} }
if (!this._settings.validLicense && !this._embedded) { if (!this._settings.validLicense && !this._embedded) {
this._runAd(); process.on('exit', this._runAd.bind(this));
} }
} }
......
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