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

Unified Diff: utils/pub/curl_client.dart

Issue 11475046: Add Bob's path library to pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 8 years 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
« no previous file with comments | « utils/pub/command_lish.dart ('k') | utils/pub/entrypoint.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/curl_client.dart
diff --git a/utils/pub/curl_client.dart b/utils/pub/curl_client.dart
index e1afc2dbb6c7fc4f77507194669765d4ad97b308..4efb9e555fef75e800d0f0d95dc3580e29cc6fa8 100644
--- a/utils/pub/curl_client.dart
+++ b/utils/pub/curl_client.dart
@@ -32,7 +32,7 @@ class CurlClient extends http.BaseClient {
Future<http.StreamedResponse> send(http.BaseRequest request) {
var requestStream = request.finalize();
return withTempDir((tempDir) {
- var headerFile = new Path(tempDir).append("curl-headers").toNativePath();
+ var headerFile = join(tempDir, "curl-headers");
var arguments = _argumentsForRequest(request, headerFile);
var process;
return Process.start(executable, arguments).chain((process_) {
« no previous file with comments | « utils/pub/command_lish.dart ('k') | utils/pub/entrypoint.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698