Skip to content

Commit 6ece9d5

Browse files
committed
Cut 3.2.1
1 parent 736d1da commit 6ece9d5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

dist/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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")) {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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": {

0 commit comments

Comments
 (0)