Skip to content

Commit b77e3b7

Browse files
authored
Remove 2.0 warning (#327)
Yeah, yeah. We get it.
1 parent fd3c3c3 commit b77e3b7

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

bin/cli.js

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,16 @@ Options
2828
type: "string",
2929
},
3030
rawSchema: {
31-
type: "boolean"
31+
type: "boolean",
3232
},
3333
version: {
34-
type: "number"
35-
}
34+
type: "number",
35+
},
3636
},
3737
}
3838
);
3939

4040
console.info(chalk.bold(`✨ swagger-to-ts 2.0`));
41-
console.info(
42-
"This library has been updated to 2.0 with improved generation. If you experience issues you can use the deprecated v1 with `npx @manifoldco/swagger-to-ts@1 …`"
43-
);
4441

4542
const pathToSpec = cli.input[0];
4643
const timeStart = process.hrtime();
@@ -57,7 +54,7 @@ const timeStart = process.hrtime();
5754
const result = swaggerToTS(spec, {
5855
prettierConfig: cli.flags.prettierConfig,
5956
rawSchema: cli.flags.rawSchema,
60-
version: cli.flags.version
57+
version: cli.flags.version,
6158
});
6259

6360
// Write to file if specifying output

0 commit comments

Comments
 (0)