Просмотр исходного кода

[web] update reference to backfill_project_image_name script (#24326)

GitOrigin-RevId: 40a459de2321aa140638d30c5a1d16390c2cdb28
Jakob Ackermann 1 год назад
Родитель
Сommit
a7818e9b11

+ 1 - 1
services/web/modules/server-ce-scripts/scripts/check-texlive-images.mjs

@@ -10,7 +10,7 @@ async function readImagesInUse() {
   if (!images || images.length === 0 || images.includes(null)) {
     console.error(`'project.imageName' is not set for some projects`)
     console.error(
-      `Set SKIP_TEX_LIVE_CHECK=true in config/variables.env, restart the instance and run 'bin/run-script scripts/backfill_project_image_name.js' to initialise TexLive image in existing projects.`
+      `Set SKIP_TEX_LIVE_CHECK=true in config/variables.env, restart the instance and run 'bin/run-script scripts/backfill_project_image_name.mjs' to initialise TexLive image in existing projects.`
     )
     console.error(
       `After running the script, remove SKIP_TEX_LIVE_CHECK from config/variables.env and restart the instance.`

+ 2 - 2
services/web/modules/server-ce-scripts/test/acceptance/src/ServerCEScriptsTests.mjs

@@ -640,7 +640,7 @@ describe('ServerCEScripts', function () {
           }),
           [
             `'project.imageName' is not set for some projects`,
-            `Set SKIP_TEX_LIVE_CHECK=true in config/variables.env, restart the instance and run 'bin/run-script scripts/backfill_project_image_name.js' to initialise TexLive image in existing projects`,
+            `Set SKIP_TEX_LIVE_CHECK=true in config/variables.env, restart the instance and run 'bin/run-script scripts/backfill_project_image_name.mjs' to initialise TexLive image in existing projects`,
           ]
         )
       })
@@ -660,7 +660,7 @@ describe('ServerCEScripts', function () {
           }),
           [
             `'project.imageName' is not set for some projects`,
-            `Set SKIP_TEX_LIVE_CHECK=true in config/variables.env, restart the instance and run 'bin/run-script scripts/backfill_project_image_name.js' to initialise TexLive image in existing projects`,
+            `Set SKIP_TEX_LIVE_CHECK=true in config/variables.env, restart the instance and run 'bin/run-script scripts/backfill_project_image_name.mjs' to initialise TexLive image in existing projects`,
           ]
         )
       })