We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5afee03 + 0fb2809 commit 6ba524dCopy full SHA for 6ba524d
index.js
@@ -12,8 +12,8 @@ function enoki (opts) {
12
assert.equal(typeof opts.directory, 'string', 'opts.directory should be type string')
13
14
this.path = {
15
- content: path.join(opts.directory, opts.pathContent || 'content'),
16
- site: path.join(opts.directory, opts.pathSite || 'site')
+ content: fs.realpathSync(path.join(opts.directory, opts.pathContent || 'content')),
+ site: fs.realpathSync(path.join(opts.directory, opts.pathSite || 'site'))
17
}
18
19
try {
0 commit comments