* Format the header for a file * @param {string} file - JS/TS file * @param {string} pkg - Package json object * @param {object} options - Options
(file, pkg, options)
| 134 | * @param {object} options - Options |
| 135 | */ |
| 136 | async function formatHeader(file, pkg, options) { |
| 137 | const header = await buildHeader(file, pkg, options); |
| 138 | return header.split('\n').map(line => `//${line}`); |
| 139 | } |
| 140 | |
| 141 | /** |
| 142 | * Ensure the file is updated with the correct header |
no test coverage detected