(force: boolean)
| 67 | } |
| 68 | |
| 69 | async function deploy(force: boolean) { |
| 70 | const args = ["--only", "dataconnect"]; |
| 71 | if (force) { |
| 72 | args.push("--force"); |
| 73 | } |
| 74 | if (FIREBASE_DEBUG) { |
| 75 | args.push("--debug"); |
| 76 | } |
| 77 | return await cli.exec("deploy", FIREBASE_PROJECT, args, __dirname, /** quiet=*/ false, { |
| 78 | FIREBASE_CLI_EXPERIMENTS: "dataconnect", |
| 79 | }); |
| 80 | } |
| 81 | |
| 82 | function toPath(p: string) { |
| 83 | return path.join(__dirname, p); |
no outgoing calls
no test coverage detected
searching dependent graphs…