Skip to content

Commit

Permalink
rm nullable parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniil Marchenko committed Jan 8, 2024
1 parent ffd5585 commit db40222
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/custom_lint_builder/lib/src/client.dart
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ class _CustomLintAnalysisConfigs {

factory _CustomLintAnalysisConfigs.from(
Pubspec pubspecForContext,
PackageConfig? packageConfig,
PackageConfig packageConfig,
AnalysisContext analysisContext,
CustomLintPluginClient client,
) {
Expand Down
4 changes: 2 additions & 2 deletions packages/custom_lint_core/lib/src/configs.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class CustomLintConfigs {
@internal
factory CustomLintConfigs.parse(
File? analysisOptionsFile,
PackageConfig? packageConfig,
PackageConfig packageConfig,
) {
if (analysisOptionsFile == null || !analysisOptionsFile.exists) {
return CustomLintConfigs.empty;
Expand All @@ -43,7 +43,7 @@ class CustomLintConfigs {
String? includeAbsolutePath;

if (includeUri.scheme == 'package') {
final packageUri = packageConfig?.resolve(includeUri);
final packageUri = packageConfig.resolve(includeUri);
includeAbsolutePath = packageUri?.toFilePath();
} else {
includeAbsolutePath = normalize(
Expand Down

0 comments on commit db40222

Please sign in to comment.