Skip to content

Commit

Permalink
Merge pull request platformsh#4294 from platformsh/dependabot/npm_and…
Browse files Browse the repository at this point in the history
…_yarn/sites/upsun/nanoid-3.3.8

Bump nanoid from 3.3.6 to 3.3.8 in /sites/upsun
  • Loading branch information
gilzow authored Dec 10, 2024
2 parents b2bacdf + 0291894 commit 3db5a3d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 12 deletions.
10 changes: 4 additions & 6 deletions .github/actions/redirection-verification/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ const verify = async () => {
})

const validateRedirects = RedirectKeys.map(async (path, index, array) => {
//console.log(`I'm going to test ${path} to see if it goes to ${anchors[path].to}`)
core.debug(`I'm going to test ${path} to see if it goes to ${anchors[path].to}`)

try {
const response = await axios.head(path);
Expand All @@ -96,15 +96,13 @@ const verify = async () => {
} catch (reqerr) {
// core.debug(`issue encountered with path ${path}!!! Returned status is ${reqerr.status}. More info: `)
core.info(`issue encountered with path ${path}!!! Returned status is ${reqerr.status}. More info: `)
console.log(reqerr)
core.debug(JSON.stringify(reqerr))
if(axios.isAxiosError(reqerr)) {
// core.debug(reqerr.toJSON())
core.info('Axios error.')
core.info(reqerr.toJSON())
core.debug('Axios error.')
} else {
console.log(reqerr)
core.info('Non-Axios error? ')
core.info(JSON.stringify(reqerr))
core.debug('Non-Axios error? ')
}

let row = [{data: linkify(path, axios.defaults.baseURL)},{data: linkify( anchors[path].to, axios.defaults.baseURL) }]
Expand Down
12 changes: 6 additions & 6 deletions sites/upsun/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3db5a3d

Please sign in to comment.