Skip to content

Commit

Permalink
chore: remove sonar warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Shurtu-gal committed Mar 27, 2024
1 parent a241d6b commit adb3fa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/generate/fromTemplate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ export default class Template extends Command {
validate(value: string) {
if (!value) {
return 'The output directory is required';
} else if (!(typeof value === 'string')) {
} else if (typeof value !== 'string') {
return 'The output directory must be a string';
}
}
Expand Down

0 comments on commit adb3fa9

Please sign in to comment.