@@ -177,18 +177,18 @@ export async function executeHook(rules: { projectLoader: ProjectLoader },
177177
178178 // Check configuration to see if hooks should be skipped
179179 if ( ! configurationValue < boolean > ( "sdm.goal.hooks" , true ) ) {
180- goalInvocation . progressLog . write ( "- --" ) ;
180+ goalInvocation . progressLog . write ( "/ --" ) ;
181181 goalInvocation . progressLog . write ( `Invoking goal hook: ${ hook } ` ) ;
182182 goalInvocation . progressLog . write ( `Result: skipped (hooks disabled in configuration)` ) ;
183- goalInvocation . progressLog . write ( "- --" ) ;
183+ goalInvocation . progressLog . write ( "\\ --" ) ;
184184 await goalInvocation . progressLog . flush ( ) ;
185185 return Success ;
186186 }
187187
188188 const { projectLoader } = rules ;
189189 const { credentials, id, context, progressLog } = goalInvocation ;
190190 return projectLoader . doWithProject ( { credentials, id, context, readOnly : true } , async p => {
191- progressLog . write ( "- --" ) ;
191+ progressLog . write ( "/ --" ) ;
192192 progressLog . write ( `Invoking goal hook: ${ hook } ` ) ;
193193
194194 if ( p . fileExistsSync ( path . join ( ".atomist" , "hooks" , hook ) ) ) {
@@ -218,12 +218,12 @@ export async function executeHook(rules: { projectLoader: ProjectLoader },
218218 }
219219
220220 progressLog . write ( `Result: ${ JSON . stringify ( result , possibleAxiosObjectReplacer , 0 ) } ` ) ;
221- progressLog . write ( "- --" ) ;
221+ progressLog . write ( "\\ --" ) ;
222222 await progressLog . flush ( ) ;
223223 return result ;
224224 } else {
225225 progressLog . write ( `Result: skipped (not provided)` ) ;
226- progressLog . write ( "- --" ) ;
226+ progressLog . write ( "\\ --" ) ;
227227 await progressLog . flush ( ) ;
228228 return Success ;
229229 }
0 commit comments