mirror of
https://github.com/ant-design/ant-design.git
synced 2025-07-31 03:46:28 +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'),
|
root: join(process.cwd(), '_site'),
|
||||||
});
|
});
|
||||||
server.listen(host);
|
server.listen(host);
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
console.log('site static server run: http://localhost:3000');
|
console.log('site static server run: http://localhost:3000');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
const React = require('react');
|
const React = require('react');
|
||||||
|
|
||||||
|
// eslint-disable-next-line no-console
|
||||||
console.log('Current React Version:', React.version);
|
console.log('Current React Version:', React.version);
|
||||||
|
|
||||||
/* eslint-disable global-require */
|
/* eslint-disable global-require */
|
||||||
|
Loading…
Reference in New Issue
Block a user