Skip to content

Commit

Permalink
add print methods to locate the current place
Browse files Browse the repository at this point in the history
  • Loading branch information
masa-tokyo committed Dec 7, 2023
1 parent 39b0df2 commit fa9792f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/bootstrap_package/test/analysis_format_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,13 @@ import 'package:test/test.dart';
/// 実際にパッケージを生成した上でテストを実行する。
void main() {
test('Analysis format test', () {
// TODO(masaki): delete after checking the absolute path
print('current: ${Directory.current.path}');
final workspacePath = Platform.environment['GITHUB_WORKSPACE'] ?? '';
print('workspacePath: $workspacePath');
// // プロジェクトルートへ移動
Directory.current = Directory('../..');
print('current: ${Directory.current.path}');

// 一意な名前のパッケージを生成
final now = DateTime.now().microsecondsSinceEpoch;
Expand Down

0 comments on commit fa9792f

Please sign in to comment.