fix eslint console warning

This commit is contained in:
afc163 2019-10-22 11:47:09 +08:00
parent b919c23d08
commit 884031afcc
2 changed files with 2 additions and 0 deletions

View File

@ -59,6 +59,7 @@ describe('site test', () => {
root: join(process.cwd(), '_site'),
});
server.listen(host);
// eslint-disable-next-line no-console
console.log('site static server run: http://localhost:3000');
});

View File

@ -1,5 +1,6 @@
const React = require('react');
// eslint-disable-next-line no-console
console.log('Current React Version:', React.version);
/* eslint-disable global-require */