Skip to content

Commit 2970be1

Browse files
committed
Merge branch 'hotfix/resolve-imports'
2 parents 18359e7 + 273cb22 commit 2970be1

File tree

7 files changed

+18
-7
lines changed

7 files changed

+18
-7
lines changed

.husky/pre-push

+1
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1+
pnpm run build
12
pnpm run test:coverage

src/commands/plugins/install.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Args, Flags, flush } from '@oclif/core'
22
import { FactoryCommandWithVaults } from '../../providers/command'
3-
import { action } from '../../services/install'
3+
import installService from '../../services/install'
4+
5+
const { action } = installService
46

57
/**
68
* Install command installs specified plugins in vaults.

src/commands/plugins/prune.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { flush } from '@oclif/core'
22
import { FactoryCommandWithVaults } from '../../providers/command'
3-
import { action } from '../../services/prune'
3+
import pruneService from '../../services/prune'
4+
5+
const { action } = pruneService
46

57
/**
68
* Prune command list and remove plugins that aren't referred in config file.

src/commands/plugins/uninstall.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Args, flush } from '@oclif/core'
22
import { FactoryCommandWithVaults } from '../../providers/command'
3-
import { action } from '../../services/uninstall'
3+
import uninstallService from '../../services/uninstall'
4+
5+
const { action } = uninstallService
46

57
/**
68
* Uninstall command removes specified plugins from vaults.

src/commands/reports/stats.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Flags, flush } from '@oclif/core'
22
import { FactoryCommandWithVaults } from '../../providers/command'
3-
import { action } from '../../services/stats'
3+
import statsService from '../../services/stats'
4+
5+
const { action } = statsService
46

57
export default class Stats extends FactoryCommandWithVaults {
68
static readonly aliases = ['rs', 'reports stats']

src/commands/vaults/run.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import { Args, Flags, flush } from '@oclif/core'
22
import { FactoryCommandWithVaults } from '../../providers/command'
3-
import { action } from '../../services/run'
3+
import runService from '../../services/run'
4+
5+
const { action } = runService
46

57
export default class Run extends FactoryCommandWithVaults {
68
static readonly aliases = ['r', 'run', 'vr', 'vaults run']

src/services/prune.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ const pruneVaultIterator = async (
6868
const action = async (
6969
_args: ArgInput,
7070
flags: FactoryFlagsWithVaults<PruneFlags>,
71-
iterator: PruneCommandIterator,
72-
callback: PruneCommandCallback,
71+
iterator: PruneCommandIterator = () => {},
72+
callback: PruneCommandCallback = () => {},
7373
): Promise<void> => {
7474
const {
7575
success: loadConfigSuccess,

0 commit comments

Comments
 (0)