chore: sync source updates

This commit is contained in:
Peter Steinberger
2025-11-25 12:12:13 +01:00
parent ea745764d7
commit 800c7a1e1f
26 changed files with 462 additions and 376 deletions

View File

@@ -1,4 +1,11 @@
import { danger, info, success, warn, logVerbose, isVerbose } from "./globals.js";
import {
danger,
info,
isVerbose,
logVerbose,
success,
warn,
} from "./globals.js";
import { defaultRuntime, type RuntimeEnv } from "./runtime.js";
export function logInfo(message: string, runtime: RuntimeEnv = defaultRuntime) {
@@ -16,7 +23,10 @@ export function logSuccess(
runtime.log(success(message));
}
export function logError(message: string, runtime: RuntimeEnv = defaultRuntime) {
export function logError(
message: string,
runtime: RuntimeEnv = defaultRuntime,
) {
runtime.error(danger(message));
}