You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/webserver.js
+7-4Lines changed: 7 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -179,15 +179,18 @@ WebServer.prototype.pushPlan = function () {
179
179
};
180
180
181
181
WebServer.prototype.requestedTagDB=function(){
182
-
if(this.matron.tagDBFile.match(/sqlite$/))
182
+
if(!this.matron.tagDBFile)
183
+
this.this_pushTagDB("No tag database file found");
184
+
elseif(this.matron.tagDBFile.match(/sqlite$/))
183
185
ChildProcess.exec("/usr/bin/sqlite3 "+this.matron.tagDBFile+" 'select proj,id,tagFreq,dfreq-1000*(tagFreq-fcdFreq) as dfreq,bi from tags order by proj,tagFreq,id,bi'",this.this_pushTagDB);
0 commit comments