Index: lib/src/io.dart |
diff --git a/lib/src/io.dart b/lib/src/io.dart |
index e435ace7089e4c88a347c09cadf58c5ba86774e1..51f380585dc8486f17ff2474e3723d905dd12937 100644 |
--- a/lib/src/io.dart |
+++ b/lib/src/io.dart |
@@ -67,7 +67,8 @@ bool processDirectory(FormatterOptions options, Directory directory) { |
bool processFile(FormatterOptions options, File file, {String label}) { |
if (label == null) label = file.path; |
- var formatter = new DartFormatter(pageWidth: options.pageWidth); |
+ var formatter = |
+ new DartFormatter(indent: options.indent, pageWidth: options.pageWidth); |
try { |
var source = new SourceCode(file.readAsStringSync(), uri: file.path); |
options.reporter.beforeFile(file, label); |