@@ -163,7 +163,7 @@ export class CircomPluginClient extends PluginClient {
163163 } else {
164164 this . lastCompiledFile = path
165165 const fileName = extractNameFromKey ( path )
166-
166+
167167 this . lastCompiledCircuitPath = extractParentFromKey ( path ) + "/.bin/" + fileName . replace ( 'circom' , 'wasm' )
168168 // @ts -ignore
169169 await this . call ( 'fileManager' , 'writeFile' , this . lastCompiledCircuitPath , circuitProgram , { encoding : null } )
@@ -179,7 +179,7 @@ export class CircomPluginClient extends PluginClient {
179179 this . internalEvents . emit ( 'circuit_compiling_done' , [ ] )
180180 }
181181 circuitApi . log ( ) . map ( log => {
182- log && this . call ( 'terminal' , 'log' , { type : 'log' , value : log } )
182+ log && this . call ( 'terminal' , 'log' , { type : 'log' , value : log } )
183183 } )
184184 // @ts -ignore
185185 this . call ( 'terminal' , 'log' , { type : 'typewritersuccess' , value : 'Everything went okay' } )
@@ -222,11 +222,11 @@ export class CircomPluginClient extends PluginClient {
222222 this . internalEvents . emit ( 'circuit_generating_r1cs_done' )
223223 const fileName = extractNameFromKey ( path )
224224 const writePath = extractParentFromKey ( path ) + "/.bin/" + fileName . replace ( 'circom' , 'r1cs' )
225-
225+
226226 // @ts -ignore
227227 await this . call ( 'fileManager' , 'writeFile' , writePath , r1csProgram , true )
228228 r1csApi . log ( ) . map ( log => {
229- log && this . call ( 'terminal' , 'log' , { type : 'log' , value : log } )
229+ log && this . call ( 'terminal' , 'log' , { type : 'log' , value : log } )
230230 } )
231231 // @ts -ignore
232232 this . call ( 'terminal' , 'log' , { type : 'typewritersuccess' , value : 'Everything went okay' } )
@@ -339,7 +339,7 @@ export class CircomPluginClient extends PluginClient {
339339
340340 absFilePath = include . startsWith ( 'circomlib' ) ? absFilePath . substring ( 1 ) : absFilePath
341341 if ( ! blackPath . includes ( absFilePath ) ) {
342- if ( ! includeName . startsWith ( 'circomlib' ) ) {
342+ if ( ! includeName . startsWith ( 'circomlib' ) ) {
343343 dependencyContent = dependencyContent . replace ( `${ includeName } ` , `${ absFilePath } ` )
344344 return absFilePath
345345 }
0 commit comments