Skip to content

Commit 946f00a

Browse files
committed
Added missing handler
1 parent 6c2772b commit 946f00a

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

builder/docs_builder.livecodescript

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,21 @@ command logError pError
1111
builderLog "error", pError, tContext
1212
end logError
1313

14+
private command pathEnsure pPath
15+
if pPath is empty then
16+
exit pathEnsure
17+
end if
18+
19+
set the itemDelimiter to "/"
20+
local tPath
21+
repeat for each item tPart in pPath
22+
put tPart & "/" after tPath
23+
if there is no folder tPath then
24+
create folder tPath
25+
end if
26+
end repeat
27+
end pathEnsure
28+
1429
command docsBuilderRun pEdition, pVersion
1530
start using stack (builderRepoFolder() & slash & "ide-support/revdocsparser.livecodescript")
1631

0 commit comments

Comments
 (0)