UNPKG

projex

Version:
19 lines (18 loc) 695 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BashRunCommandUtils = void 0; const _shared_1 = require("../../../../shared/index"); /* The `BashRunCommandUtils` class is a TypeScript class that provides a method for running a command asynchronously on multiple folders. */ class BashRunCommandUtils { command; constructor(command) { this.command = command; } /* The `public run` method is an asynchronous function that takes an array of `IFile` objects as a parameter. */ async run(root) { await (0, _shared_1.runCommand)(this.command, root, 'run command'); } } exports.BashRunCommandUtils = BashRunCommandUtils;