Skip to content

Commit

Permalink
w
Browse files Browse the repository at this point in the history
  • Loading branch information
arturcic committed Nov 18, 2024
1 parent 771005a commit ea018a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
5 changes: 2 additions & 3 deletions dist/tools/cli.mjs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import { parseCliArgs, getToolRunner } from './lib.mjs';
import { parseCliArgs, run } from './lib.mjs';

const { agent, tool, command } = parseCliArgs();
const runner = await getToolRunner(agent, tool);
await runner.run(command);
await run(agent, tool, command);
//# sourceMappingURL=cli.mjs.map
2 changes: 1 addition & 1 deletion dist/tools/cli.mjs.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions src/tools/cli.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { getToolRunner, parseCliArgs } from '@lib'
import { parseCliArgs, run } from '@lib'
import { type Commands } from '@tools/gitversion'

const { agent, tool, command } = parseCliArgs()
const runner = await getToolRunner(agent, tool)
await runner.run(command)
await run(agent, tool, command as Commands)

0 comments on commit ea018a8

Please sign in to comment.