Skip to content

Commit a53dcec

Browse files
committed
Remove silly ternary
Signed-off-by: worksofliam <[email protected]>
1 parent 33bc87a commit a53dcec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/IBMi.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1292,7 +1292,7 @@ export default class IBMi {
12921292
}
12931293

12941294
getEncoding() {
1295-
const fallback = ((this.runtimeCcsid < 1 || this.runtimeCcsid === 65535) && this.userDefaultCCSID > 0 ? true : false);
1295+
const fallback = ((this.runtimeCcsid < 1 || this.runtimeCcsid === 65535) && this.userDefaultCCSID > 0);
12961296
const ccsid = fallback ? (this.userDefaultCCSID) : this.runtimeCcsid;
12971297
return {
12981298
fallback,

0 commit comments

Comments
 (0)