mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-12 10:01:11 +00:00
chore: Update formatting.
This commit is contained in:
@@ -1,10 +1,3 @@
|
||||
import type {
|
||||
OpenClawHookMetadata,
|
||||
HookEntry,
|
||||
HookInstallSpec,
|
||||
HookInvocationPolicy,
|
||||
ParsedHookFrontmatter,
|
||||
} from "./types.js";
|
||||
import { parseFrontmatterBlock } from "../markdown/frontmatter.js";
|
||||
import {
|
||||
getFrontmatterString,
|
||||
@@ -16,6 +9,13 @@ import {
|
||||
resolveOpenClawManifestOs,
|
||||
resolveOpenClawManifestRequires,
|
||||
} from "../shared/frontmatter.js";
|
||||
import type {
|
||||
OpenClawHookMetadata,
|
||||
HookEntry,
|
||||
HookInstallSpec,
|
||||
HookInvocationPolicy,
|
||||
ParsedHookFrontmatter,
|
||||
} from "./types.js";
|
||||
|
||||
export function parseFrontmatter(content: string): ParsedHookFrontmatter {
|
||||
return parseFrontmatterBlock(content);
|
||||
|
||||
Reference in New Issue
Block a user