Skip to content

Commit c5a024c

Browse files
authored
Merge pull request #17 from ehmicky/chore/fix-publish-dir
2 parents 404b825 + 647bafa commit c5a024c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

plugin/pluginCore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ exports.generateFilePaths = async function({
3434
}) {
3535
let htmlFilePaths = [];
3636
for (fileAndDirPath of fileAndDirPaths) {
37-
const fullDirPath = path.join(process.cwd(), PUBLISH_DIR, fileAndDirPath);
37+
const fullDirPath = path.join(PUBLISH_DIR, fileAndDirPath);
3838
if (fs.statSync(fullDirPath).isDirectory()) {
3939
let subPaths = await walk(fullDirPath);
4040
htmlFilePaths = htmlFilePaths.concat(subPaths);

0 commit comments

Comments
 (0)