Log de l'actor dont les sorts sont migrés

This commit is contained in:
Vincent Vandemeulebrouck 2022-09-19 20:15:37 +02:00
parent 8f127bc66b
commit 7785851719

View File

@ -16,7 +16,7 @@ class _10_0_16_MigrationSortsReserve extends Migration {
.filter((actor) => actor.system.reve?.reserve?.list?.length ?? 0 > 0)
.forEach(async (actor) => {
const sortsReserve = actor.system.reve.reserve.list.map(this.conversionSortReserve);
console.log(LOG_HEAD + "Migration des sorts ", sortsReserve);
console.log(`${LOG_HEAD} Migration des sorts en réserve de ${actor.name}`, sortsReserve);
await actor.createEmbeddedDocuments("Item", sortsReserve, {
renderSheet: false,
});