Skip to content

Commit 2293504

Browse files
committed
Removed: log (validate(process.argv[2]) if program has any args.
1 parent a1b1ef7 commit 2293504

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/index.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,4 @@ export async function validate(
4242
return createOutput()
4343
}
4444

45-
async function main() {
46-
if (process.argv[2]) {
47-
const res = await validate(process.argv[2])
48-
console.log(JSON.stringify(res, null, 2))
49-
}
50-
}
51-
main()
52-
5345
export default validate

0 commit comments

Comments
 (0)