| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 library mojom.command.check; | 5 library mojom.command.check; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:io'; | 8 import 'dart:io'; |
| 9 | 9 |
| 10 import 'package:args/args.dart'; | 10 import 'package:args/args.dart'; |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 throw new CommandLineError("The specified canonical output directory: " | 55 throw new CommandLineError("The specified canonical output directory: " |
| 56 "$_canon does not exist."); | 56 "$_canon does not exist."); |
| 57 } | 57 } |
| 58 _dartRoot = new Directory(makeAbsolute(argResults['output'])); | 58 _dartRoot = new Directory(makeAbsolute(argResults['output'])); |
| 59 if (!await _dartRoot.exists()) { | 59 if (!await _dartRoot.exists()) { |
| 60 throw new CommandLineError( | 60 throw new CommandLineError( |
| 61 'Specified --output directory $_dartRoot does not exist'); | 61 'Specified --output directory $_dartRoot does not exist'); |
| 62 } | 62 } |
| 63 } | 63 } |
| 64 } | 64 } |
| OLD | NEW |