File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -43,9 +43,7 @@ export async function runGitEvals2(options: {
4343
4444 // Create logs directory with current date and time
4545 const date = new Date ( ) . toISOString ( ) . replace ( / : / g, '-' ) . slice ( 0 , 16 ) // YYYY-MM-DDTHH-MM
46- const outputDir = outputPath
47- ? path . dirname ( outputPath )
48- : path . join ( __dirname , 'results' )
46+ const outputDir = outputPath ? path . dirname ( outputPath ) : __dirname
4947 const logsDir = path . join ( outputDir , 'logs' , date )
5048 if ( ! fs . existsSync ( logsDir ) ) {
5149 fs . mkdirSync ( logsDir , { recursive : true } )
@@ -244,9 +242,7 @@ export async function runGitEvals2(options: {
244242 }
245243 if ( recommendations . length > 0 ) {
246244 console . log ( `\nRecommendations:` )
247- recommendations . forEach ( ( r : string ) =>
248- console . log ( ` - ${ r } ` ) ,
249- )
245+ recommendations . forEach ( ( r : string ) => console . log ( ` - ${ r } ` ) )
250246 }
251247 } catch ( error ) {
252248 console . error (
You can’t perform that action at this time.
0 commit comments