File tree 3 files changed +5
-5
lines changed
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ export const getSystemLogger = function (
190
190
return ( ...args ) => fileDescriptor . write ( `${ reduceLogLines ( args ) } \n` )
191
191
}
192
192
193
- export const addOutputGate = ( logs : Logs , outputFlusher : OutputFlusher ) : Logs => {
193
+ export const addOutputFlusher = ( logs : Logs , outputFlusher : OutputFlusher ) : Logs => {
194
194
if ( logsAreBuffered ( logs ) ) {
195
195
return {
196
196
...logs ,
Original file line number Diff line number Diff line change 1
1
import { setEnvChanges } from '../env/changes.js'
2
2
import { addErrorInfo , isBuildError } from '../error/info.js'
3
- import { addOutputGate } from '../log/logger.js'
3
+ import { addOutputFlusher } from '../log/logger.js'
4
4
5
5
import { updateNetlifyConfig , listConfigSideFiles } from './update_config.js'
6
6
@@ -40,7 +40,7 @@ export const fireCoreStep = async function ({
40
40
deployId,
41
41
outputFlusher,
42
42
} ) {
43
- const logsA = addOutputGate ( logs , outputFlusher )
43
+ const logsA = outputFlusher ? addOutputFlusher ( logs , outputFlusher ) : logs
44
44
45
45
try {
46
46
const configSideFiles = await listConfigSideFiles ( [ headersPath , redirectsPath ] )
Original file line number Diff line number Diff line change 1
1
import { context , propagation } from '@opentelemetry/api'
2
2
3
3
import { addErrorInfo } from '../error/info.js'
4
- import { addOutputGate } from '../log/logger.js'
4
+ import { addOutputFlusher } from '../log/logger.js'
5
5
import { logStepCompleted } from '../log/messages/ipc.js'
6
6
import { pipePluginOutput , unpipePluginOutput } from '../log/stream.js'
7
7
import { callChild } from '../plugins/ipc.js'
@@ -43,7 +43,7 @@ export const firePluginStep = async function ({
43
43
const otelCarrier = { }
44
44
propagation . inject ( context . active ( ) , otelCarrier )
45
45
46
- const logsA = addOutputGate ( logs , outputFlusher )
46
+ const logsA = addOutputFlusher ( logs , outputFlusher )
47
47
48
48
try {
49
49
const configSideFiles = await listConfigSideFiles ( [ headersPath , redirectsPath ] )
You can’t perform that action at this time.
0 commit comments