You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
405 B
12 lines
405 B
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const error_1 = require("./error");
|
|
function requireInteractive(options) {
|
|
if (options.nonInteractive) {
|
|
return Promise.reject(new error_1.FirebaseError("This command cannot run in non-interactive mode", {
|
|
exit: 1,
|
|
}));
|
|
}
|
|
return Promise.resolve();
|
|
}
|
|
exports.default = requireInteractive;
|