Skip to content

Commit b6f2c23

Browse files
committed
safeguard
1 parent 7358c09 commit b6f2c23

1 file changed

Lines changed: 7 additions & 5 deletions

File tree

‎v4-cokapi/cokapi.js‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -121,9 +121,10 @@ function exec_js_handler(useJSONP /* use bind first */, req, res) {
121121
'--expose-debug-as=Debug',
122122
'/tmp/javascript/jslogger.js');
123123
} else {
124-
exeFile = NODE_BIN;
125-
args.push('--expose-debug-as=Debug',
126-
'backends/javascript/jslogger.js');
124+
assert(false);
125+
//exeFile = NODE_BIN;
126+
//args.push('--expose-debug-as=Debug',
127+
// 'backends/javascript/jslogger.js');
127128
}
128129
args.push('--jsondump=true');
129130
args.push('--code=' + usrCod);
@@ -207,8 +208,9 @@ function executePython(pyVer, req, res) {
207208
(pyVer == 'py2' ? 'python' : 'python3'),
208209
'/tmp/python/generate_json_trace.py');
209210
} else {
210-
exeFile = (pyVer == 'py2' ? PYTHON2_BIN : PYTHON3_BIN);
211-
args.push('backends/python/generate_json_trace.py');
211+
assert(false);
212+
//exeFile = (pyVer == 'py2' ? PYTHON2_BIN : PYTHON3_BIN);
213+
//args.push('backends/python/generate_json_trace.py');
212214
}
213215

214216
if (cumulativeMode) {

0 commit comments

Comments
 (0)