Skip to content

Commit f3ecf7b

Browse files
committed
Update site config file for windows compatibility
1 parent f142f89 commit f3ecf7b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

config/site.config.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
const path = require('path');
22
const fs = require('fs');
33

4-
const ROOT = process.env.PWD;
4+
let ROOT = process.env.PWD;
5+
6+
if (!ROOT) {
7+
ROOT = process.cwd();
8+
}
59

610
const config = {
711
// Your website's name, used for favicon meta tags

src/index.js

Whitespace-only changes.

0 commit comments

Comments
 (0)