mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-24 15:38:45 +08:00
✅ fix eslint console warning
This commit is contained in:
parent
b919c23d08
commit
884031afcc
@ -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');
|
||||
});
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user