MCPcopy Create free account
hub / github.com/SethGammon/Citadel / defaultCommand

Function defaultCommand

core/verification/profiles.js:77–80  ·  view source on GitHub ↗
(scripts)

Source from the content-addressed store, hash-verified

75}
76
77function defaultCommand(scripts) {
78 if (scripts.test) return 'npm run test';
79 return 'git diff --check';
80}
81
82function hasAny(files, predicate) {
83 return files.some((file) => predicate(normalizePath(file)));

Callers 1

profileForFilesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected