Index: tools/dom/docs/bin/docs.dart |
diff --git a/tools/dom/docs/bin/docs.dart b/tools/dom/docs/bin/docs.dart |
index 17728f0fe720e014a819cc79f29d47370f9cb728..cdc7974f0d3d56b40b77d49bba544c7716abd239 100644 |
--- a/tools/dom/docs/bin/docs.dart |
+++ b/tools/dom/docs/bin/docs.dart |
@@ -34,4 +34,4 @@ main() { |
* Gets the full path to the directory containing the entrypoint of the current |
* script. |
*/ |
-String get scriptDir => path.dirname(new Options().script); |
+String get scriptDir => path.dirname(Platform.script); |