mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Added eslint exceptions in test-suite
no issue - eslint-plugin-ghost will warn for console.* calls - we use a mini-hack in the test suite to print out the start time for Ghost - we want to keep these for the mean time, so explicitly allow them for now
This commit is contained in:
parent
d4cd996e20
commit
0e4dbc659c
1 changed files with 3 additions and 3 deletions
|
@ -765,7 +765,7 @@ var ghostServer;
|
|||
* @TODO: tidy up the tmp folders
|
||||
*/
|
||||
startGhost = function startGhost(options) {
|
||||
console.time('Start Ghost');
|
||||
console.time('Start Ghost'); // eslint-disable-line no-console
|
||||
options = _.merge({
|
||||
redirectsFile: true,
|
||||
forceStart: false,
|
||||
|
@ -868,7 +868,7 @@ startGhost = function startGhost(options) {
|
|||
})
|
||||
.then((keys) => {
|
||||
module.exports.existingData.apiKeys = keys.toJSON(module.exports.context.internal);
|
||||
console.timeEnd('Start Ghost');
|
||||
console.timeEnd('Start Ghost'); // eslint-disable-line no-console
|
||||
})
|
||||
.return(ghostServer);
|
||||
});
|
||||
|
@ -950,7 +950,7 @@ startGhost = function startGhost(options) {
|
|||
})
|
||||
.then((keys) => {
|
||||
module.exports.existingData.apiKeys = keys.toJSON();
|
||||
console.timeEnd('Start Ghost');
|
||||
console.timeEnd('Start Ghost'); // eslint-disable-line no-console
|
||||
})
|
||||
.return(ghostServer);
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue