Skip to content

Commit

Permalink
Address review remarks: ignore comments parser by coverage tool, remo…
Browse files Browse the repository at this point in the history
…ve unnecessary Buffer reference in compile utils.
  • Loading branch information
blitz-1306 committed Jan 10, 2024
1 parent 6eeb23c commit 73492b7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .nycrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"**/coverage/**",
"**/docs/**",
"**/.compiler_cache/**",
"src/compile/inference/file_level_definitions_parser*.ts"
"src/compile/inference/file_level_definitions_parser*.ts",
"src/ast/comments/comments_parser*.ts"
],
"reporter": ["lcov", "text-summary"],
"all": true,
Expand Down
2 changes: 1 addition & 1 deletion src/compile/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ export async function compileSol(
const remapping = pathOptions.remapping || [];
const parsedRemapping = parsePathRemapping(remapping);

const files: FileMap = new Map<string, Buffer>();
const files: FileMap = new Map();
const resolvedFileNames = new Map<string, string>();
const visited = new Set<string>();

Expand Down

0 comments on commit 73492b7

Please sign in to comment.