File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
apps/contract-verification/src/app/Verifiers Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ export class BlockscoutVerifier extends EtherscanVerifier {
3838 const result : SourceFile [ ] = [ ]
3939 const filePrefix = `/${ this . LOOKUP_STORE_DIR } /${ chainId } /${ contractAddress } `
4040
41- const targetFilePath = `${ filePrefix } /${ blockscoutSource . FileName . startsWith ( '..' ) ? blockscoutSource . FileName . replace ( '../' , '' ) : blockscoutSource . FileName } `
41+ const targetFilePath = `${ filePrefix } /${ blockscoutSource . FileName . startsWith ( '..' ) ? blockscoutSource . FileName . replace ( / .. \/ / g , '' ) : blockscoutSource . FileName } `
4242 result . push ( { content : blockscoutSource . SourceCode , path : targetFilePath } )
4343
4444 for ( const additional of blockscoutSource . AdditionalSources ?? [ ] ) {
You can’t perform that action at this time.
0 commit comments