Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 729778: check for unknown commands before reading package.json. r=@…
…MarkH This allows mistyped commands like "cfx blah" to emit the useful (and originally intended) "Unknown command, try --help" message. Some very old refactoring (before release 0.1) caused the code that reads package.json to be run too early, such that "cfx blah" emits "unable to find package.json" instead of "Unknown command".
- Loading branch information