Skip to content

Commit e33cc8c

Browse files
committed
CommandCall: rename xexec variable -> exec
1 parent e164691 commit e33cc8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/CommandCall.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,13 @@ class CommandCall {
6262
this.xml = iXmlNodeShOpen('', '', '', '', '') + this.command + iXmlNodeShClose();
6363
}
6464
} else if (this.type === 'cl') {
65-
const xexec = (this.command.indexOf('?') > 0) ? 'rexx' : 'cmd';
65+
const exec = (this.command.indexOf('?') > 0) ? 'rexx' : 'cmd';
6666

6767
if (this.options) {
6868
this.xml = iXmlNodeCmdOpen(this.options.exec, this.options.hex, this.options.before,
6969
this.options.after, this.options.error) + this.command + iXmlNodeCmdClose();
7070
} else {
71-
this.xml = iXmlNodeCmdOpen(xexec, '', '', '', '', '') + this.command + iXmlNodeCmdClose();
71+
this.xml = iXmlNodeCmdOpen(exec, '', '', '', '', '') + this.command + iXmlNodeCmdClose();
7272
}
7373
} else if (this.type === 'qsh') {
7474
if (this.options) {

0 commit comments

Comments
 (0)