Skip to content

Commit d0321e8

Browse files
github-actions[bot]vgvbotmarcossevilla
authored
chore: update SPDX licenses (#1341)
* chore: update SPDX licenses * fix: lint and remove pana min score * chore: update SPDX licenses * chore: empty commit --------- Co-authored-by: VGV Bot <[email protected]> Co-authored-by: Marcos Sevilla <[email protected]> Co-authored-by: Marcos Sevilla <[email protected]>
1 parent 2c1380d commit d0321e8

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

lib/src/cli/test_cli_runner.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -407,9 +407,7 @@ Future<int> _testCommand({
407407
stderr('$clearLine$testName $testPath (FAILED)');
408408
}
409409

410-
final timeElapsed = Duration(
411-
milliseconds: event.time,
412-
).formatted();
410+
final timeElapsed = Duration(milliseconds: event.time).formatted();
413411
final stats = computeStats();
414412
final truncatedTestName = testName.toSingleLine().truncated(
415413
_lineLength - (timeElapsed.length + stats.length + 2),
@@ -418,9 +416,7 @@ Future<int> _testCommand({
418416
}
419417

420418
if (event is DoneTestEvent) {
421-
final timeElapsed = Duration(
422-
milliseconds: event.time,
423-
).formatted();
419+
final timeElapsed = Duration(milliseconds: event.time).formatted();
424420
final stats = computeStats();
425421
final summary = event.success ?? false
426422
? lightGreen.wrap('All tests passed!')!

lib/src/pub_license/spdx_license.gen.dart

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tool/spdx_license/test/spdx_license.gen.dart

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)