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); |
} |