File tree 1 file changed +0
-27
lines changed
v-next/hardhat/src/internal/builtin-plugins/solidity/build-system
1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import { assertHardhatInvariant } from "@ignored/hardhat-vnext-errors";
25
25
import {
26
26
getAllDirectoriesMatching ,
27
27
getAllFilesMatching ,
28
- isDirectory ,
29
28
readJsonFile ,
30
29
remove ,
31
30
writeUtf8File ,
@@ -451,32 +450,6 @@ export class SolidityBuildSystemImplementation implements SolidityBuildSystem {
451
450
} ;
452
451
}
453
452
454
- async #groupEmitArtifactsResults(
455
- filePaths : string [ ] ,
456
- ) : Promise < Map < string , string [ ] > > {
457
- const result = new Map < string , string [ ] > ( ) ;
458
-
459
- for ( const filePath of filePaths ) {
460
- const relativePath = path . relative ( this . #options. artifactsPath , filePath ) ;
461
- if (
462
- path . dirname ( relativePath ) === "build-info" ||
463
- path . basename ( relativePath ) === "artifacts.d.ts"
464
- ) {
465
- continue ;
466
- }
467
- if ( await isDirectory ( filePath ) ) {
468
- result . set ( relativePath , [ ] ) ;
469
- } else {
470
- const publicSourceName = path . dirname ( relativePath ) ;
471
- const paths = result . get ( publicSourceName ) ?? [ ] ;
472
- paths . push ( filePath ) ;
473
- result . set ( publicSourceName , paths ) ;
474
- }
475
- }
476
-
477
- return result ;
478
- }
479
-
480
453
public async emitArtifacts (
481
454
compilationJob : CompilationJob ,
482
455
compilerOutput : CompilerOutput ,
You can’t perform that action at this time.
0 commit comments