Skip to content

Commit 2d4f888

Browse files
authored
fix dotnet command (jhipster#1384)
1 parent d4d966a commit 2d4f888

File tree

2 files changed

+294
-220
lines changed

2 files changed

+294
-220
lines changed

generators/bootstrap-dotnetcore/generator.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export default class extends BaseApplicationGenerator {
2020
async checks() {
2121
if (!this.skipChecks) {
2222
try {
23-
await this.spawnCommand('dotnet');
23+
await this.spawnCommand('dotnet --info');
2424
} catch (error) {
2525
throw new Error(`dotnet was not found. Check the installation. ${error}`);
2626
}

0 commit comments

Comments
 (0)