From 1f9ca3923751f502f2e892ffafdc18bd1f7e8284 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Fri, 16 Sep 2022 21:54:58 -0500 Subject: [PATCH] Fix bad reference in string interpolation Regression from https://github.com/actions/configure-pages/pull/21 --- src/set-pages-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/set-pages-config.js b/src/set-pages-config.js index b9f85f2..369624b 100644 --- a/src/set-pages-config.js +++ b/src/set-pages-config.js @@ -76,7 +76,7 @@ function setPagesConfig({ staticSiteGenerator, generatorConfigFile, siteUrl }) { } catch (error) { // Logging core.warning( - `We were unable to determine how to inject the site metadata into your config. Generated URLs may be incorrect. The base URL for this site should be ${path}. Please ensure your framework is configured to generate relative links appropriately.`, + `We were unable to determine how to inject the site metadata into your config. Generated URLs may be incorrect. The base URL for this site should be ${siteUrl}. Please ensure your framework is configured to generate relative links appropriately.`, error ) }