diff --git a/packages/core/src/cli/validate/contract-report.ts b/packages/core/src/cli/validate/contract-report.ts index 89c61222f..963b78d23 100644 --- a/packages/core/src/cli/validate/contract-report.ts +++ b/packages/core/src/cli/validate/contract-report.ts @@ -179,6 +179,6 @@ function getStandaloneReport( return new UpgradeableContractErrorReport(reportErrors); } -function getPath(src: string): string { - return src.split(':')[0]; +function getPath(srcOrFullyQualifiedName: string): string { + return srcOrFullyQualifiedName.split(':')[0]; }