diff --git a/src/lib/deploy.ts b/src/lib/deploy.ts index ec7dfe7..47135ad 100644 --- a/src/lib/deploy.ts +++ b/src/lib/deploy.ts @@ -412,6 +412,22 @@ export default class Deploy { useBundler: string, feeMultiplier: number, ) { + this.duplicates.forEach(duplicate=>{ + + if(duplicate.filePath.endsWith("/index.html")){ + let rootPath={...duplicate,filePath:duplicate.filePath.slice(0,-(("/index.html").length))} + + this.duplicates.push(rootPath) + } + }) + this.txs.forEach(txD=>{ + + if(txD.filePath.endsWith("/index.html")){ + let rootPath={...txD,filePath:txD.filePath.slice(0,-(("/index.html").length))} + + this.txs.push(rootPath) + } + }) const { results: pDuplicates } = await PromisePool.for(this.duplicates) .withConcurrency(this.threads) .process(async (txD) => {