Skip to content

Commit

Permalink
added directory typing
Browse files Browse the repository at this point in the history
  • Loading branch information
pleerock committed Sep 4, 2020
1 parent 0397e44 commit a50e09a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/MigrationCreateCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class MigrationCreateCommand implements yargs.CommandModule {
const timestamp = new Date().getTime();
const fileContent = MigrationCreateCommand.getTemplate(args.name as any, timestamp);
const filename = timestamp + "-" + args.name + ".ts";
let directory = args.dir;
let directory: string = args.dir;

// if directory is not set then try to open tsconfig and find default path there
if (!directory) {
Expand Down

0 comments on commit a50e09a

Please sign in to comment.