diff --git a/packages/you_cli/lib/src/cli_core.dart b/packages/you_cli/lib/src/cli_core.dart index fe99dae8..b06983e5 100644 --- a/packages/you_cli/lib/src/cli_core.dart +++ b/packages/you_cli/lib/src/cli_core.dart @@ -8,7 +8,7 @@ import 'package:code_builder/code_builder.dart'; import 'package:file/file.dart'; import 'package:path/path.dart' as path; import 'package:you_cli/src/analyzer.dart'; -import 'package:you_cli/src/yaml.dart'; +import 'package:you_cli/src/pubspec.dart'; // final Glob _PAGE_GLOB = Glob("{**/page.dart,page.dart}"); class YouCli { diff --git a/packages/you_cli/lib/src/yaml.dart b/packages/you_cli/lib/src/pubspec.dart similarity index 98% rename from packages/you_cli/lib/src/yaml.dart rename to packages/you_cli/lib/src/pubspec.dart index df74f634..7eca60f7 100644 --- a/packages/you_cli/lib/src/yaml.dart +++ b/packages/you_cli/lib/src/pubspec.dart @@ -20,7 +20,7 @@ class Pubspec { static Pubspec parseString(String content) { YamlMap document = loadYaml(content); - return Pubspec._(document); + return Pubspec._(document); } String get name => document["name"] as String; diff --git a/packages/you_cli/test/src/pubspec_edit_test.dart b/packages/you_cli/test/src/pubspec_edit_test.dart index 79a1fca0..8e494291 100644 --- a/packages/you_cli/test/src/pubspec_edit_test.dart +++ b/packages/you_cli/test/src/pubspec_edit_test.dart @@ -1,7 +1,7 @@ import 'package:file/file.dart'; import 'package:file/memory.dart'; import 'package:test/test.dart'; -import 'package:you_cli/src/yaml.dart'; +import 'package:you_cli/src/pubspec.dart'; void main() {