Skip to content

Commit 49a5b7f

Browse files
authored
Remove console log (#133)
1 parent 510b4b5 commit 49a5b7f

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/build-headers-program.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -332,8 +332,8 @@ const writeHeadersFile =
332332
}: any) =>
333333
(contents: any) => writeFile(publicFolder(NETLIFY_HEADERS_FILENAME), contents)
334334

335-
const buildHeadersProgram = (pluginData: any, pluginOptions: any, reporter: any) => {
336-
const returnVal = flow(
335+
const buildHeadersProgram = (pluginData: any, pluginOptions: any, reporter: any) =>
336+
flow(
337337
[
338338
validateUserOptions(pluginOptions, reporter),
339339
mapUserLinkHeaders(pluginData),
@@ -345,9 +345,7 @@ const buildHeadersProgram = (pluginData: any, pluginOptions: any, reporter: any)
345345
transformToString,
346346
writeHeadersFile(pluginData),
347347
])(pluginOptions.headers)
348-
console.log({returnVal})
349-
return returnVal
350-
}
348+
351349

352350
export default buildHeadersProgram
353351
/* eslint-enable max-lines */

0 commit comments

Comments
 (0)