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

Unified Diff: utils/apidoc/apidoc.dart

Issue 10867082: Fix apidoc generation of pkg on Windows (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/apidoc.dart
diff --git a/utils/apidoc/apidoc.dart b/utils/apidoc/apidoc.dart
index e73daa9fcd98b390b0827e336b45be8e2942b573..fc3c81430fff414c1a966c39aefa95835ed51e4e 100644
--- a/utils/apidoc/apidoc.dart
+++ b/utils/apidoc/apidoc.dart
@@ -112,9 +112,9 @@ void main() {
final includedLibraries = <String>[];
var lister = new Directory.fromPath(
- doc.scriptDir.append('../../pkg/')).list();
+ doc.scriptDir.append('../../pkg')).list();
lister.onDir = (dirPath) {
- var path = new Path(dirPath);
+ var path = new Path.fromNative(dirPath);
var libname = path.filename;
path = path.append('${libname}.dart');
if (new File.fromPath(path).existsSync()) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698