Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
yorkie committed May 25, 2020
1 parent 0a98617 commit b386daa
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/cli/src/actions/start.ts
@@ -1,8 +1,7 @@
import ora from 'ora';
import { existsSync } from 'fs';
import * as path from 'path';
import { spawn, SpawnOptions, ChildProcess } from 'child_process';
import { startJob } from '../service/job';
import { spawn, ChildProcess } from 'child_process';
import { StartHandler } from '../types';
import { Constants } from '../utils';
import { listen, get } from '../request';
Expand Down Expand Up @@ -34,7 +33,7 @@ const start: StartHandler = async (filename: string, verbose: boolean) => {
return process.exit(1);
}

const opts = { cwd: process.cwd(), config: filename };
const opts = { cwd: process.cwd(), config: filename };
if (!verbose) {
const job = await get(`${route.job}/start`, opts);
spinner.succeed(`create job(${job.id}) succeeded.`);
Expand Down

0 comments on commit b386daa

Please sign in to comment.