Skip to content

Commit

Permalink
index image paths correctly when running as action
Browse files Browse the repository at this point in the history
  • Loading branch information
josh-heyer committed Sep 6, 2024
1 parent 1cae9f5 commit 7b18607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/automation/actions/link-check/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,8 +161,8 @@ async function main() {

const imageFiles = await glob(
imageExts.flatMap((ext) => [
"product_docs/**/*" + ext,
"advocacy_docs/**/*" + ext,
path.resolve(basePath, "product_docs/**/*" + ext),
path.resolve(basePath, "advocacy_docs/**/*" + ext),
]),
);

Expand Down

1 comment on commit 7b18607

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.