mirror of
https://github.com/peakoss/anti-slop
synced 2026-12-01 13:39:13 +08:00
feat(inputs): add debug logging to settings.ts and fix import
This commit is contained in:
1 file changed
+3
-1
+3
-1
@@ -1,5 +1,5 @@
|
||||
import { Input } from "./enums/input.ts";
|
||||
import type { Settings } from "./types/index.ts";
|
||||
import type { Settings } from "./types";
|
||||
import * as core from "@actions/core";
|
||||
|
||||
const VALID_AUTHOR_ASSOCIATIONS = [
|
||||
@@ -115,6 +115,8 @@ export function getSettings(): Settings {
|
||||
|
||||
validateSettings(settings);
|
||||
|
||||
core.debug(`Settings:\n${JSON.stringify(settings, null, 2)}`);
|
||||
|
||||
return settings;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user