Skip to content

Commit

Permalink
Drop 'ts' alias
Browse files Browse the repository at this point in the history
  • Loading branch information
shadaj committed Jun 28, 2018
1 parent da28a80 commit 95607f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apollo-cli/src/commands/codegen/generate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export default class Generate extends Command {

let inferredTarget: TargetType = "" as TargetType;
if (flags.target) {
if (["swift", "typescript", "ts", "flow", "scala", "typescript-legacy", "ts-legacy", "flow-legacy"].includes(flags.target)) {
if (["swift", "typescript", "flow", "scala", "typescript-legacy", "flow-legacy"].includes(flags.target)) {
inferredTarget = flags.target as TargetType;
} else {
this.error(`Unsupported target: ${flags.target}`);
Expand Down

0 comments on commit 95607f9

Please sign in to comment.