minor update

This commit is contained in:
Pavol Bielik 2015-01-26 12:48:28 +01:00
parent 4fdfd6a04c
commit d08e08f913
2 changed files with 4 additions and 2 deletions

View File

@ -138,7 +138,9 @@ function processFile(file) {
}
if (ARGS.extract_features) {
if (removeWhitespace(output) != '{"query":[],"assign":[]}') {
console.log(output);
}
} else if (ARGS.rename){
callServer(
HOST,

View File

@ -26,7 +26,7 @@ TMP_DIR = ""
def ExtractFeaturesForFile(f):
global TMP_DIR
os.system("nodejs bin/js_features.js --skip_minified '%s' >> %s/%d" % (f, TMP_DIR, os.getpid()))
os.system("nodejs bin/js_features.js --extract_features --skip_minified '%s' >> %s/%d" % (f, TMP_DIR, os.getpid()))
def ExtractFeaturesForFileList(files):
global TMP_DIR