Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nestjs/nest-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Feb 17, 2021
2 parents dd22171 + 1a4f167 commit 845d1df
Show file tree
Hide file tree
Showing 6 changed files with 822 additions and 641 deletions.
1 change: 0 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ CONTRIBUTE.md
renovate.json
gulpfile.js
tsconfig.json
tslint.json
tools
/test/jest-config.json
/.vscode
Expand Down
2 changes: 1 addition & 1 deletion actions/abstract.action.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Input } from '../commands';

export abstract class AbstractAction {
public abstract async handle(
public abstract handle(
inputs?: Input[],
options?: Input[],
extraFlags?: string[],
Expand Down
3 changes: 3 additions & 0 deletions commands/new.command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ export class NewCommand extends AbstractCommand {
case 'typescript':
command.language = 'ts';
break;
default:
command.language = lowercasedLanguage;
break;
}
}
options.push({
Expand Down
2 changes: 1 addition & 1 deletion lib/compiler/workspace-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class WorkspaceUtils {
if (!isDeleteEnabled) {
return;
}
await new Promise((resolve, reject) =>
await new Promise<void>((resolve, reject) =>
rimraf(dirPath, (err) => (err ? reject(err) : resolve())),
);
}
Expand Down
Loading

0 comments on commit 845d1df

Please sign in to comment.