From 05e7d2577316ff586915ed74352c11f92c8188e8 Mon Sep 17 00:00:00 2001 From: masaki Date: Thu, 7 Dec 2023 20:08:22 +0900 Subject: [PATCH] use print with ignoring the rule --- scripts/bootstrap_package/test/analysis_format_test.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/scripts/bootstrap_package/test/analysis_format_test.dart b/scripts/bootstrap_package/test/analysis_format_test.dart index 762ff1c..99e5c68 100644 --- a/scripts/bootstrap_package/test/analysis_format_test.dart +++ b/scripts/bootstrap_package/test/analysis_format_test.dart @@ -1,4 +1,3 @@ -import 'dart:developer'; import 'dart:io'; import 'package:path/path.dart' as path; @@ -11,12 +10,14 @@ import 'package:test/test.dart'; void main() { test('Analysis format test', () { // TODO(masaki): delete after checking the absolute path - log('current: ${Directory.current.path}'); + // ignore_for_file: avoid_print + + print('current: ${Directory.current.path}'); final workspacePath = Platform.environment['GITHUB_WORKSPACE'] ?? ''; - log('workspacePath: $workspacePath'); + print('workspacePath: $workspacePath'); // // プロジェクトルートへ移動 Directory.current = Directory('../..'); - log('current: ${Directory.current.path}'); + print('current: ${Directory.current.path}'); // 一意な名前のパッケージを生成 final now = DateTime.now().microsecondsSinceEpoch;