DS 2 rokov pred
rodič
commit
83873e240a
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      js/executeNodeSetParser.mjs

+ 1 - 1
js/executeNodeSetParser.mjs

@@ -8,7 +8,7 @@ https://stackoverflow.com/questions/1880198/how-to-execute-shell-command-in-java
 export function parseAll(){
 	var exec = require('child_process').exec;
 	var listxml = '';
-exec('cd nodesets && ls',
+exec('cd .. && cd nodesets && ls',
     function (error, stdout, stderr) {
         //console.log('stdout: ' + stdout);
         //console.log('stderr: ' + stderr);