Skip to content

Commit

Permalink
fix(command): root await (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
2nthony authored Jul 12, 2022
1 parent 86075e9 commit 600f438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { PluginApi } from '../types'

export const root: PluginApi = {
extend(api) {
api.cli.command('root', 'Alias to `ghq config --get.root`').action(() => {
const { root } = resolveConfig()
api.cli.command('root', `Show repositories' root`).action(async () => {
const { root } = await resolveConfig()
console.info(root)
})
},
Expand Down

0 comments on commit 600f438

Please sign in to comment.