Skip to content
This repository has been archived by the owner on Dec 20, 2023. It is now read-only.

Patio migrate missingArgument undefined #89

Merged
merged 1 commit into from
Jan 10, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion bin/patio
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,10 @@ program.command("migrate")
.option('--camelize [boolean]', 'force camel casing', false)
.option('-us, --underscore [boolean]', 'force underscore', false)
.action(function (program) {
var self = this;
["directory", "uri"].forEach(function (arg) {
if (comb.isUndefined(program[arg])) {
program.missingArgument(arg);
self.missingArgument(arg);
}
});

Expand Down