UNPKG

nx

Version:

The core Nx plugin contains the core functionality of Nx like the project graph, nx commands and task orchestration.

23 lines (22 loc) 508 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.NoopChildProcess = void 0; class NoopChildProcess { constructor(results) { this.results = results; } send() { } async getResults() { return this.results; } kill() { return; } onExit(cb) { cb(this.results.code, this.results.terminalOutput); } onOutput(cb) { cb(this.results.terminalOutput); } } exports.NoopChildProcess = NoopChildProcess;