Index: third_party/pkg/js/tools/create_bootstrap.dart |
diff --git a/third_party/pkg/js/tools/create_bootstrap.dart b/third_party/pkg/js/tools/create_bootstrap.dart |
index 14ecc7acfe3376d1ed6dce78611d30fb5538642f..5c06c6a7ac247438bc7a46f697f29d9c58c8c513 100755 |
--- a/third_party/pkg/js/tools/create_bootstrap.dart |
+++ b/third_party/pkg/js/tools/create_bootstrap.dart |
@@ -49,8 +49,7 @@ create(Path libPath) { |
} |
main() { |
- final options = new Options(); |
- final scriptPath = new Path(options.script).directoryPath; |
+ final scriptPath = new Path(Platform.script).directoryPath; |
final libPath = scriptPath.join(new Path('../lib')); |
create(libPath); |
} |