Maybe fix linting.

pull/4512/head
Evan Sangaline 9 months ago committed by Aniket
parent 82b1a2f2bf
commit 552fdb885b
  1. 4
      libs/remix-ws-templates/src/script-templates/sindri/index.ts

@ -46,8 +46,7 @@ export const sindriScripts = async (plugin: any) => {
// For now, we only support Circom.
// Infer manifest properties from the existing files in the workspace.
switch (sindriManifest.circuitType) {
case 'circom':
if (sindriManifest.circuitType === 'circom') {
// Try to find the best `.circom` source file to use as the main component.
// First, we limit ourselves to `.circom` files.
const circomPathsAndContents = await Promise.all(
@ -72,7 +71,6 @@ export const sindriScripts = async (plugin: any) => {
})
.map(({path}) => path)[0] || './circuit.circom'
sindriManifest.circuitPath = circomCircuitPath
break
}
// Derive the circuit name from the workspace name.

Loading…
Cancel
Save