Add getErrorMessage to pr-checks-local util.ts to avoid pulling in src/util.ts dependencies

This commit is contained in:
Michael B. Gale
2026-07-24 16:08:18 +01:00
parent cbad145443
commit 0953dc00da
4 changed files with 12 additions and 6 deletions

View File

@@ -7,8 +7,6 @@
import * as fs from "node:fs";
import { parseArgs } from "node:util";
import { getErrorMessage } from "../src/util";
import {
Changelog,
ChangelogSection,
@@ -17,6 +15,7 @@ import {
renderChangelog,
} from "./changelog";
import { CHANGELOG_FILE } from "./config";
import { getErrorMessage } from "./util";
export interface RollbackChangelogInputs {
"target-version": string;