We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33bc87a commit a53dcecCopy full SHA for a53dcec
src/api/IBMi.ts
@@ -1292,7 +1292,7 @@ export default class IBMi {
1292
}
1293
1294
getEncoding() {
1295
- const fallback = ((this.runtimeCcsid < 1 || this.runtimeCcsid === 65535) && this.userDefaultCCSID > 0 ? true : false);
+ const fallback = ((this.runtimeCcsid < 1 || this.runtimeCcsid === 65535) && this.userDefaultCCSID > 0);
1296
const ccsid = fallback ? (this.userDefaultCCSID) : this.runtimeCcsid;
1297
return {
1298
fallback,
0 commit comments