diff --git a/nuxt.config.js b/nuxt.config.js
index fc2c354b6f60d664c702581816f1aad4f4919654..2703fc7923a4fba7566ed1f9cdce139fea518c94 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -251,7 +251,9 @@ export default {
               if (!lexique.length) {
                 // eslint-disable-next-line no-console
                 console.warn(
-                  `Term "${term}" in file ${document.path}.${document.extension} doesn't exist`
+                  `Term "${term}" in file ${
+                    document.path + document.extension
+                  } doesn't exist`
                 )
               }
             }