From c0e54c236957919ac082148fe4959a439ac92172 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Thu, 13 Jun 2024 22:06:23 +0200 Subject: [PATCH] Fix warning sur test de version --- module/migrations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/migrations.js b/module/migrations.js index 03a396bf..675e2088 100644 --- a/module/migrations.js +++ b/module/migrations.js @@ -569,7 +569,7 @@ export class Migrations { } if (foundry.utils.isNewerVersion(game.system.version, currentVersion)) { // if (true) { /* comment previous and uncomment here to test before upgrade */ - const migrations = Migrations.getMigrations().filter(m => isNewerVersion(m.version, currentVersion)); + const migrations = Migrations.getMigrations().filter(m => foundry.utils.isNewerVersion(m.version, currentVersion)); if (migrations.length > 0) { migrations.sort((a, b) => this.compareVersions(a, b)); migrations.forEach(async (m) => {