Skip to content

Commit

Permalink
[you_cli] yaml.dart rename to pubspec.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
chen56 committed May 21, 2024
1 parent 0562fca commit e03f06e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/you_cli/lib/src/cli_core.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion packages/you_cli/test/src/pubspec_edit_test.dart
Original file line number Diff line number Diff line change
@@ -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() {
Expand Down

0 comments on commit e03f06e

Please sign in to comment.