catch configure-pages error

This commit is contained in:
yimysty
2022-06-30 12:10:35 -07:00
parent b25b367b9a
commit 898d1f4121
3 changed files with 3 additions and 5 deletions

3
dist/index.js vendored
View File

@@ -14842,8 +14842,7 @@ async function setPagesPath({staticSiteGenerator, path}) {
configParser.parse() configParser.parse()
} catch (error) { } catch (error) {
core.error('Set pages path in the static site generator config failed', error) 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.`, error)
throw error
} }
} }

2
dist/index.js.map vendored

File diff suppressed because one or more lines are too long

View File

@@ -39,8 +39,7 @@ async function setPagesPath({staticSiteGenerator, path}) {
configParser.parse() configParser.parse()
} catch (error) { } catch (error) {
core.error('Set pages path in the static site generator config failed', error) 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.`, error)
throw error
} }
} }