"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.which = void 0;
const which_1 = __importDefault(require("which"));
function which(cmd) {
    return new Promise(resolve => {
        which_1.default(cmd, (err, data) => {
            return resolve(err ? undefined : data);
        });
    });
}
exports.which = which;
