File tree Expand file tree Collapse file tree
src/experiments/framework Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -141,8 +141,8 @@ const getProvenance = (collectProvenance: boolean): Provenance => {
141141 let dirty = false ;
142142
143143 try {
144- gitCommit = execSync ( "git rev-parse HEAD" , { encoding : "utf-8" } ) . trim ( ) ;
145- const status = execSync ( "git status --porcelain" , { encoding : "utf-8" } ) ;
144+ gitCommit = execSync ( "git rev-parse HEAD" , { encoding : "utf-8" , env : undefined } ) . trim ( ) ;
145+ const status = execSync ( "git status --porcelain" , { encoding : "utf-8" , env : undefined } ) ;
146146 dirty = status . length > 0 ;
147147 } catch {
148148 // Git not available or not a git repo
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ ${rows.join("\n")}
222222 if ( ! Number . isFinite ( n ) ) {
223223 return "--" ;
224224 }
225- return n . toFixed ( decimals ?? this . options . defaultDecimals ) ;
225+ return n . toFixed ( decimals ?? this . options . defaultDecimals ?? 2 ) ;
226226 }
227227
228228 /**
You can’t perform that action at this time.
0 commit comments