File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -21892,9 +21892,9 @@ async function main() {
2189221892 let currentParentPageId = rootParentPageId;
2189321893 let pathsInRoot = root.split("/");
2189421894 let newRoot= root;
21895- if(pathsInRoot.length > 1 ){
21896- newRoot = pathsInRoot[0 ] + "/"
21897- console.log("Root for action includes subfolder. Assigning root as: " + newRoot)
21895+ if(pathsInRoot.length > 2 ){
21896+ newRoot = "./" + pathsInRoot[1 ] + "/"
21897+ console.log("Root for action includes subfolder. Assigning root as: " + newRoot)
2189821898 }
2189921899 for (const subPath of f) {
2190021900 if (subPath.includes(".md")) {
Original file line number Diff line number Diff line change 11{
22 "name" : " confluence-docs-as-code" ,
3- "version" : " 3.1.2 " ,
3+ "version" : " 3.2.1 " ,
44 "description" : " " ,
55 "main" : " index.js" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments