Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(13)

Unified Diff: sdk/lib/_internal/pub_generated/test/descriptor/git.dart

Issue 887223007: Revert "Use native async/await support in pub." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/_internal/pub_generated/test/descriptor/git.dart
diff --git a/sdk/lib/_internal/pub/test/descriptor/git.dart b/sdk/lib/_internal/pub_generated/test/descriptor/git.dart
similarity index 90%
copy from sdk/lib/_internal/pub/test/descriptor/git.dart
copy to sdk/lib/_internal/pub_generated/test/descriptor/git.dart
index 0ccf2e3d6835959abc81c8d6c3e70d1dc2b36e58..38ecdfa216774733a31592d2b01b7ceceb56bee0 100644
--- a/sdk/lib/_internal/pub/test/descriptor/git.dart
+++ b/sdk/lib/_internal/pub_generated/test/descriptor/git.dart
@@ -20,11 +20,9 @@ class GitRepoDescriptor extends DirectoryDescriptor {
/// Creates the Git repository and commits the contents.
Future create([String parent]) => schedule(() {
return super.create(parent).then((_) {
- return _runGitCommands(parent, [
- ['init'],
- ['add', '.'],
- ['commit', '-m', 'initial commit']
- ]);
+ return _runGitCommands(
+ parent,
+ [['init'], ['add', '.'], ['commit', '-m', 'initial commit']]);
});
}, 'creating Git repo:\n${describe()}');
@@ -34,10 +32,9 @@ class GitRepoDescriptor extends DirectoryDescriptor {
/// [parent] defaults to [defaultRoot].
Future commit([String parent]) => schedule(() {
return super.create(parent).then((_) {
- return _runGitCommands(parent, [
- ['add', '.'],
- ['commit', '-m', 'update']
- ]);
+ return _runGitCommands(
+ parent,
+ [['add', '.'], ['commit', '-m', 'update']]);
});
}, 'committing Git repo:\n${describe()}');
@@ -70,7 +67,8 @@ class GitRepoDescriptor extends DirectoryDescriptor {
};
if (parent == null) parent = defaultRoot;
- return git.run(args,
+ return git.run(
+ args,
workingDir: path.join(parent, name),
environment: environment);
}
« no previous file with comments | « sdk/lib/_internal/pub_generated/test/descriptor.dart ('k') | sdk/lib/_internal/pub_generated/test/descriptor/tar.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698