Travis debugging
This commit is contained in:
parent
c7700f2b96
commit
935d48013b
2 changed files with 5 additions and 1 deletions
|
@ -43,6 +43,11 @@ Zotero.Translators = new function() {
|
||||||
* available (e.g., in updateBundledFiles()), to avoid unnecesary file reads
|
* available (e.g., in updateBundledFiles()), to avoid unnecesary file reads
|
||||||
*/
|
*/
|
||||||
this.reinit = Zotero.Promise.coroutine(function* (options = {}) {
|
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
|
// Wait until bundled files have been updated, except when this is called by the schema update
|
||||||
// code itself
|
// code itself
|
||||||
if (!options.fromSchemaUpdate) {
|
if (!options.fromSchemaUpdate) {
|
||||||
|
|
|
@ -150,7 +150,6 @@ describe("Zotero Core Functions", function () {
|
||||||
|
|
||||||
add("should show error on partial failure", function (automatic) {
|
add("should show error on partial failure", function (automatic) {
|
||||||
return function* () {
|
return function* () {
|
||||||
Zotero.Debug.init(true);
|
|
||||||
yield populateDataDirectory(oldDir, null, automatic);
|
yield populateDataDirectory(oldDir, null, automatic);
|
||||||
|
|
||||||
let origFunc = OS.File.move;
|
let origFunc = OS.File.move;
|
||||||
|
|
Loading…
Add table
Reference in a new issue