Travis debugging

This commit is contained in:
Dan Stillman 2016-11-22 19:35:30 -05:00
parent c7700f2b96
commit 935d48013b
2 changed files with 5 additions and 1 deletions

View file

@ -43,6 +43,11 @@ Zotero.Translators = new function() {
* available (e.g., in updateBundledFiles()), to avoid unnecesary file reads
*/
this.reinit = Zotero.Promise.coroutine(function* (options = {}) {
// Travis debugging
Zotero.Debug.init(true);
Zotero.debug(new Error().stack);
Zotero.Debug.init();
// Wait until bundled files have been updated, except when this is called by the schema update
// code itself
if (!options.fromSchemaUpdate) {

View file

@ -150,7 +150,6 @@ describe("Zotero Core Functions", function () {
add("should show error on partial failure", function (automatic) {
return function* () {
Zotero.Debug.init(true);
yield populateDataDirectory(oldDir, null, automatic);
let origFunc = OS.File.move;