Write out path when generating item type/field data for tests

It writes to the build folder, so it's easy to think it's not working.
This commit is contained in:
Dan Stillman 2023-03-23 01:35:10 -04:00
parent 42a4649420
commit 23ebf277fe

View file

@ -82,8 +82,9 @@ if (ZoteroUnit.makeTestData) {
let str = stableStringify(newData);
yield OS.File.writeAtomic(OS.Path.join(dataPath, params.name + '.js'), str);
dump("done.");
dump('\nWritten to ' + OS.Path.join(dataPath, params.name + '.js\n'));
}
dump("\n");
})()
.catch(function(e) { dump('\n'); dump(Zotero.Utilities.varDump(e)) })
.finally(function() { quit(false) });