chore: lint using putout

This commit is contained in:
coderaiser
2020-06-01 00:04:17 +03:00
parent 4e6151d011
commit f63f1f7b95
16 changed files with 50 additions and 31 deletions
+2 -2
View File
@@ -204,11 +204,11 @@ export class Terminal implements ITerminalApi {
}
private _verifyIntegers(...values: number[]): void {
values.forEach(value => {
for (const value of values) {
if (value === Infinity || isNaN(value) || value % 1 !== 0) {
throw new Error('This API only accepts integers');
}
});
}
}
}