catch configure-pages error
This commit is contained in:
Vendored
+1
-2
@@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
@@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user