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.
PUBLISH_DIR
1 parent 404b825 commit 647bafaCopy full SHA for 647bafa
plugin/pluginCore.js
@@ -34,7 +34,7 @@ exports.generateFilePaths = async function({
34
}) {
35
let htmlFilePaths = [];
36
for (fileAndDirPath of fileAndDirPaths) {
37
- const fullDirPath = path.join(process.cwd(), PUBLISH_DIR, fileAndDirPath);
+ const fullDirPath = path.join(PUBLISH_DIR, fileAndDirPath);
38
if (fs.statSync(fullDirPath).isDirectory()) {
39
let subPaths = await walk(fullDirPath);
40
htmlFilePaths = htmlFilePaths.concat(subPaths);
0 commit comments