Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/dart/lib/src/objects/parse_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
super.client,
super.autoSendSessionId})
: super(
name: file != null ? path.basename(file.path) : name!,
name: name ?? path.basename(file?.path ?? ''),

Check warning on line 14 in packages/dart/lib/src/objects/parse_file.dart

View check run for this annotation

Codecov / codecov/patch

packages/dart/lib/src/objects/parse_file.dart#L14

Added line #L14 was not covered by tests
);

File? file;
Expand Down
2 changes: 1 addition & 1 deletion packages/dart/lib/src/objects/parse_x_file.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
super.client,
super.autoSendSessionId})
: super(
name: file != null ? path.basename(file.path) : name!,
name: name ?? path.basename(file?.path ?? ''),

Check warning on line 14 in packages/dart/lib/src/objects/parse_x_file.dart

View check run for this annotation

Codecov / codecov/patch

packages/dart/lib/src/objects/parse_x_file.dart#L14

Added line #L14 was not covered by tests
);

XFile? file;
Expand Down
Loading