aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/extra-utils/cli/cli.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/extra-utils/cli/cli.ts')
-rw-r--r--shared/extra-utils/cli/cli.ts6
1 files changed, 1 insertions, 5 deletions
diff --git a/shared/extra-utils/cli/cli.ts b/shared/extra-utils/cli/cli.ts
index 1bf100869..bc1dddc68 100644
--- a/shared/extra-utils/cli/cli.ts
+++ b/shared/extra-utils/cli/cli.ts
@@ -1,7 +1,7 @@
1import { exec } from 'child_process' 1import { exec } from 'child_process'
2import { AbstractCommand } from '../shared' 2import { AbstractCommand } from '../shared'
3 3
4class CLICommand extends AbstractCommand { 4export class CLICommand extends AbstractCommand {
5 5
6 static exec (command: string) { 6 static exec (command: string) {
7 return new Promise<string>((res, rej) => { 7 return new Promise<string>((res, rej) => {
@@ -21,7 +21,3 @@ class CLICommand extends AbstractCommand {
21 return CLICommand.exec(`${this.getEnv()} ${command}`) 21 return CLICommand.exec(`${this.getEnv()} ${command}`)
22 } 22 }
23} 23}
24
25export {
26 CLICommand
27}