minor update
This commit is contained in:
parent
4fdfd6a04c
commit
d08e08f913
|
|
@ -138,7 +138,9 @@ function processFile(file) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ARGS.extract_features) {
|
if (ARGS.extract_features) {
|
||||||
|
if (removeWhitespace(output) != '{"query":[],"assign":[]}') {
|
||||||
console.log(output);
|
console.log(output);
|
||||||
|
}
|
||||||
} else if (ARGS.rename){
|
} else if (ARGS.rename){
|
||||||
callServer(
|
callServer(
|
||||||
HOST,
|
HOST,
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ TMP_DIR = ""
|
||||||
|
|
||||||
def ExtractFeaturesForFile(f):
|
def ExtractFeaturesForFile(f):
|
||||||
global TMP_DIR
|
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):
|
def ExtractFeaturesForFileList(files):
|
||||||
global TMP_DIR
|
global TMP_DIR
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user