alpha
Login
or
Join now
bomb.sh
/
clack
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/bombshell-dev/clack. Effortlessly build beautiful command-line apps
bomb.sh/docs/clack/basics/getting-started/
cli
command-line
command-line-app
node
prompt
prompts
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
chore: remove old comment
author
James Garbutt
date
2 weeks ago
(Jul 8, 2026, 8:42 AM +0100)
commit
9d8c67a7
9d8c67a734049536a429ac47cc27828f8d2f73ff
parent
c87f6aee
c87f6aee5c74b3b3a44c86d9ad008a1d052ccf14
-2
1 changed file
Expand all
Collapse all
Unified
Split
packages
core
src
utils
validation.ts
-2
packages/core/src/utils/validation.ts
View file
Reviewed
···
50
50
): MaybePromise<string | Error | undefined> {
51
51
if ('~standard' in validate) {
52
52
const result = validate['~standard'].validate(value);
53
53
-
// https://standardschema.dev/schema#how-to-only-allow-synchronous-validation
54
54
-
// TODO: https://github.com/bombshell-dev/clack/issues/92
55
53
if (result instanceof Promise) {
56
54
return result.then((res) => res.issues?.at(0)?.message);
57
55
}