()
| 51 | } |
| 52 | |
| 53 | export function getPreamble() { |
| 54 | const preamble = `/** |
| 55 | * @license |
| 56 | * Copyright ${(new Date()).getFullYear()} Google LLC. All Rights Reserved. |
| 57 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 58 | * you may not use this file except in compliance with the License. |
| 59 | * You may obtain a copy of the License at |
| 60 | * |
| 61 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 62 | * |
| 63 | * Unless required by applicable law or agreed to in writing, software |
| 64 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 65 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 66 | * See the License for the specific language governing permissions and |
| 67 | * limitations under the License. |
| 68 | * ============================================================================= |
| 69 | */ |
| 70 | |
| 71 | // This file is autogenerated.\n |
| 72 | `; |
| 73 | return preamble; |
| 74 | } |
| 75 | |
| 76 | export function bail(errorMsg: string) { |
| 77 | console.log(chalk.red(errorMsg)); |
no outgoing calls
no test coverage detected
searching dependent graphs…