From e8bd7ce7ccafe3e064b03978e9b512c1a4cc99e6 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 6 Jul 2021 09:55:05 +0200 Subject: Introduce CustomPage command --- shared/extra-utils/cli/cli.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'shared/extra-utils/cli') 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 @@ import { exec } from 'child_process' import { AbstractCommand } from '../shared' -class CLICommand extends AbstractCommand { +export class CLICommand extends AbstractCommand { static exec (command: string) { return new Promise((res, rej) => { @@ -21,7 +21,3 @@ class CLICommand extends AbstractCommand { return CLICommand.exec(`${this.getEnv()} ${command}`) } } - -export { - CLICommand -} -- cgit v1.2.3