Skip to content

Commit

Permalink
🚑 Return early when defaulting
Browse files Browse the repository at this point in the history
  • Loading branch information
segersniels committed May 23, 2019
1 parent bf26251 commit b80c4f3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ async function run() {
// Fallback to default Docker execution if command is unknown to Supdock
if (!supdock.getCustomCommands().includes(command)) {
supdock.default();
return;
}

await supdock.run({ command, flags, nonFlags });
Expand Down

0 comments on commit b80c4f3

Please sign in to comment.