mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-12 00:27:21 +02:00
ESLintify Part 2 (#841)
* ESLintify Part 2 * Fix * Fix tests * Fix tests * Fix tests
This commit is contained in:
parent
4267337fb0
commit
5ac2cee658
42 changed files with 188 additions and 190 deletions
|
@ -17,6 +17,7 @@ require('babel-register')({
|
|||
// initial check that required files are present
|
||||
const chalk = require('chalk');
|
||||
const fs = require('fs');
|
||||
|
||||
const CWD = process.cwd();
|
||||
|
||||
if (!fs.existsSync(CWD + '/siteConfig.js')) {
|
||||
|
@ -28,4 +29,5 @@ if (!fs.existsSync(CWD + '/siteConfig.js')) {
|
|||
|
||||
// generate rss feed
|
||||
const feed = require('./server/feed.js');
|
||||
|
||||
console.log(feed());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue