Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async startNode(network: Network, node: CommonNode) {
this.ensureDirs(network, [node]);
info(`Starting docker container for ${node.name}`);
info(` - path: ${network.path}`);
const result = await this.execute(compose.upOne, node.name, this.getArgs(network));
info(`Container started:\n ${result.out || result.err}`);
}