@nx/expo
Version:
21 lines (20 loc) • 775 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.processSubmitOptions = processSubmitOptions;
const process_generic_options_1 = require("./process-generic-options");
function processSubmitOptions(tree, options, projectName, projectRoot, migrationLogs) {
const args = [];
if ('interactive' in options && options.interactive === false) {
args.push('--non-interactive');
delete options.interactive;
}
if ('wait' in options) {
if (options.wait)
args.push('--wait');
else
args.push('--no-wait');
delete options.wait;
}
options.args = args;
(0, process_generic_options_1.processGenericOptions)(tree, options, projectName, projectRoot, migrationLogs);
}