Index: pkg/docgen/lib/docgen.dart |
diff --git a/pkg/docgen/lib/docgen.dart b/pkg/docgen/lib/docgen.dart |
index 428f4c7fae623882541b37019c1c5bb310c8a6da..a9f171a2c79c45a0d4fe8a8a153f6fc4c06857bd 100644 |
--- a/pkg/docgen/lib/docgen.dart |
+++ b/pkg/docgen/lib/docgen.dart |
@@ -44,7 +44,7 @@ Future<bool> docgen(List<String> files, {String packageRoot, |
bool includeDependentPackages: false, bool compile: false, |
bool serve: false, bool noDocs: false, String startPage, |
String pubScript : 'pub', String dartBinary: 'dart', |
- bool indentJSON: false}) { |
+ bool indentJSON: false, String sdk}) { |
var result; |
if (!noDocs) { |
viewer.ensureMovedViewerCode(); |
@@ -55,7 +55,7 @@ Future<bool> docgen(List<String> files, {String packageRoot, |
excludeLibraries: excludeLibraries, |
includeDependentPackages: includeDependentPackages, |
startPage: startPage, pubScriptValue: pubScript, |
- dartBinaryValue: dartBinary, indentJSON: indentJSON); |
+ dartBinaryValue: dartBinary, indentJSON: indentJSON, sdk: sdk); |
viewer.addBackViewerCode(); |
if (compile || serve) { |
result.then((success) { |