"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.installDependencies = void 0;
const utils_1 = require("../../../utils");
async function installDependencies(opts) {
    const { shouldInstallDependencies, targetDir } = opts;
    if (!shouldInstallDependencies)
        return;
    utils_1.log(`- Install dependencies (don't mind the warnings)...`);
    // TODO: Fix that you know have to run "yarn" before you can run the grund project
    await utils_1.exec('yarn', [], { cwd: targetDir });
}
exports.installDependencies = installDependencies;
