Allow SVN builds without SVN root to still start

This commit is contained in:
Dan Stillman 2008-10-13 20:11:43 +00:00
parent 651bcf2380
commit 80dc7be1be

View file

@ -326,7 +326,7 @@ Zotero.Schema = new function(){
while (entries.hasMoreElements()) {
var file = entries.getNext();
file.QueryInterface(Components.interfaces.nsIFile);
if (!file.leafName.match(fileNameRE) || file.isDirectory()) {
if (!file.exists || !file.leafName.match(fileNameRE) || file.isDirectory()) {
continue;
}
var newObj = new Zotero[Mode](file);