fix: Fix line break for list types

This commit is contained in:
Laegel
2021-07-04 22:26:01 +02:00
parent 3866198264
commit f75dcb762b
3 changed files with 7 additions and 24 deletions

View File

@@ -1027,7 +1027,7 @@ const generateSidebar = __webpack_require__(4762);
const fs = __webpack_require__(5747).promises;
(async () => {
// try {
try {
// Where your docs live, should be the folder containing the crates docs
const originPath = core.getInput("originPath"); // e.g. "/path/to/project/target/doc/";
@@ -1068,9 +1068,10 @@ const fs = __webpack_require__(5747).promises;
fs.writeFile(sidebarPath, JSON.stringify(sidebarItems, null, 2));
console.log("Tasks completed!");
// } catch (error) {
// core.setFailed(error.message);
// }
} catch (error) {
core.debug(error.stack);
core.setFailed(error.message);
}
})();