File tree Expand file tree Collapse file tree
src/main/kotlin/org/pkl/package_docs Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11/* *
2- * Copyright © 2024 Apple Inc. and the Pkl project authors. All rights reserved.
2+ * Copyright © 2024-2025 Apple Inc. and the Pkl project authors. All rights reserved.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
1616package org.pkl.package_docs
1717
1818import java.nio.file.Path
19+ import kotlin.system.exitProcess
1920
2021fun main (args : Array <String >) {
2122 val gitRootDir = Path .of(args[0 ])
@@ -30,4 +31,8 @@ fun main(args: Array<String>) {
3031 if (doPublish) {
3132 docsGenerator.uploadDocs()
3233 }
34+ // hotfix: call `exitProcess` here to workaround something
35+ // causing the docs generator to hang.
36+ // TODO: figure out why this is hanging.
37+ exitProcess(0 )
3338}
Original file line number Diff line number Diff line change @@ -94,7 +94,6 @@ class PackageDocs(
9494 ).run ()
9595 println (" Wrote docs to $docsOutputDir " )
9696 print (packages.joinToString(" \n " ))
97- exitProcess(0 )
9897 }
9998
10099 fun uploadDocs () {
You can’t perform that action at this time.
0 commit comments