Skip to content

Commit

Permalink
Add common code
Browse files Browse the repository at this point in the history
  • Loading branch information
ehmicky committed Aug 25, 2019
1 parent f7a2e23 commit 430523c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 33 deletions.
3 changes: 2 additions & 1 deletion src/run/runners/cli/start.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { exit } from 'process'

import { getInput, sendOutput, sendError } from '../common/ipc.js'

import { benchmark } from './benchmark/main.js'
import { loadBenchmarkFile } from './load/main.js'
import { getInput, sendOutput, sendError } from './ipc.js'
import { measure } from './benchmark/measure.js'

// Child process entry point
Expand Down
File renamed without changes.
31 changes: 0 additions & 31 deletions src/run/runners/node/ipc.js

This file was deleted.

3 changes: 2 additions & 1 deletion src/run/runners/node/start.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { exit } from 'process'

import { getInput, sendOutput, sendError } from '../common/ipc.js'

import { benchmark } from './benchmark/main.js'
import { loadBenchmarkFile } from './load/main.js'
import { getInput, sendOutput, sendError } from './ipc.js'
import { debugRun } from './debug.js'

// Child process entry point
Expand Down

0 comments on commit 430523c

Please sign in to comment.