Skip to content

Commit a4ec3df

Browse files
committed
+chore: Update dependencies
1 parent a2bc9c4 commit a4ec3df

File tree

4 files changed

+9
-10
lines changed

4 files changed

+9
-10
lines changed

lib/src/language_support/dart_support.dart

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Future<void> fmtDartFile(String filePath) async {
2424
try {
2525
await Process.run('dart', ['format', filePath]);
2626
} catch (_) {
27-
printRed('Error formatting Dart file at $filePath');
27+
Glog.printRed('Error formatting Dart file at $filePath');
2828
}
2929
}
3030

@@ -33,7 +33,7 @@ Future<void> fixDartFile(String filePath) async {
3333
try {
3434
await Process.run('dart', ['fix', '--apply', filePath]);
3535
} catch (_) {
36-
printRed('Error fixing Dart file at $filePath');
36+
Glog.printRed('Error fixing Dart file at $filePath');
3737
}
3838
}
3939

@@ -49,8 +49,7 @@ AnalysisContextCollection createDartAnalysisContextCollection(
4949
String? fallbackDartSdkPath,
5050
) {
5151
final sdkPath = Platform.environment['DART_SDK'] ?? fallbackDartSdkPath;
52-
final includePaths =
53-
paths.toSet().map((e) => p.normalize(p.absolute(e))).toList();
52+
final includePaths = paths.toSet().map((e) => p.normalize(p.absolute(e))).toList();
5453
final collection = AnalysisContextCollection(
5554
includedPaths: includePaths,
5655
resourceProvider: PhysicalResourceProvider.INSTANCE,

lib/src/language_support/rust_support.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Future<void> fmtRustFile(String filePath) async {
2121
try {
2222
await Process.run('rustfmt', [filePath]);
2323
} catch (_) {
24-
printRed('Error formatting Rust file at $filePath');
24+
Glog.printRed('Error formatting Rust file at $filePath');
2525
}
2626
}
2727

@@ -31,6 +31,6 @@ Future<void> fixRustFile(String filePath) async {
3131
try {
3232
await Process.run('cargo', ['fix', filePath]);
3333
} catch (_) {
34-
printRed('Error fixing Rust file at $filePath');
34+
Glog.printRed('Error fixing Rust file at $filePath');
3535
}
3636
}

lib/src/language_support/ts_js_support.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Future<void> fmtTsJsFile(String filePath) async {
2222
try {
2323
await Process.run('prettier', ['--write', filePath]);
2424
} catch (_) {
25-
printRed('Error formatting TypeScript/JavaScript file at $filePath');
25+
Glog.printRed('Error formatting TypeScript/JavaScript file at $filePath');
2626
}
2727
}
2828

@@ -32,6 +32,6 @@ Future<void> fixTsJsFile(String filePath) async {
3232
try {
3333
await Process.run('eslint', ['--fix', filePath]);
3434
} catch (_) {
35-
printRed('Error fixing TypeScript/JavaScript file at $filePath');
35+
Glog.printRed('Error fixing TypeScript/JavaScript file at $filePath');
3636
}
3737
}

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
name: df_gen_core
1414
description: A package that provides core utilities for practical code generation.
15-
version: 0.6.6
15+
version: 0.6.7
1616
homepage: https://dev-cetera.com/
1717
repository: https://github.com/robmllze/df_gen_core
1818
funding:
@@ -28,7 +28,7 @@ environment:
2828
dependencies:
2929
df_collection: ^0.9.1
3030
df_config: ^0.7.0
31-
df_log: ^0.2.4
31+
df_log: ^0.3.0
3232
df_safer_dart: ^0.10.0
3333
df_string: ^0.2.4
3434
df_type: ^0.10.3

0 commit comments

Comments
 (0)