Don't fail if SVN style symlink points to missing file
This commit is contained in:
parent
43f9680e50
commit
ebef88143f
|
@ -302,7 +302,10 @@ Zotero.Schema = new function(){
|
|||
while (entries.hasMoreElements()) {
|
||||
var file = entries.getNext();
|
||||
file.QueryInterface(Components.interfaces.nsIFile);
|
||||
if (!file.leafName.match(fileNameRE) || file.isDirectory()) {
|
||||
// File might not exist in an SVN build with style symlinks
|
||||
if (!file.exists()
|
||||
|| !file.leafName.match(fileNameRE)
|
||||
|| file.isDirectory()) {
|
||||
continue;
|
||||
}
|
||||
var fileModTime = Math.round(file.lastModifiedTime / 1000);
|
||||
|
|
Loading…
Reference in New Issue
Block a user