Index: sdk/bin/dartfmt |
diff --git a/sdk/bin/dartfmt b/sdk/bin/dartfmt |
index a671c502f86e3ed095ad1cd045a5e335db6b2691..ad541407ae56ee3f4a9869020901f2fb7c069b5a 100755 |
--- a/sdk/bin/dartfmt |
+++ b/sdk/bin/dartfmt |
@@ -28,4 +28,4 @@ DART_ROOT="$(cd "${SDK_DIR}/.." ; pwd -P)" |
DARTFMT="$DART_ROOT/third_party/pkg_tested/dart_style/bin/format.dart" |
-exec "$DART" "$DARTFMT" "$@" |
+exec "$DART" "--packages=$DART_ROOT/.packages" "$DARTFMT" "$@" |