Skip to content

Commit

Permalink
fix: fixed import path for script
Browse files Browse the repository at this point in the history
  • Loading branch information
mikecoomber committed Oct 18, 2024
1 parent 4154878 commit cb7501d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/fetch_icons/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import core from "@actions/core";
import { readFileSync, writeFileSync } from "fs";
import fetchIcons from "../../dist/scripts/fetchIcons.js";
import fetchIcons from "../../dist/scripts/fetch-icons/fetchIcons.js";
import { ZDS_ASSETS_FILE_ID, ZDS_ASSETS_ICON_PAGE_NAME } from "../../figmaConfig.js";

const FIGMA_ACCESS_TOKEN = core.getInput("figma-access-token") || process.env.FIGMA_ACCESS_TOKEN;
Expand All @@ -21,7 +21,7 @@ try {
ZDS_ASSETS_ICON_PAGE_NAME,
oldHash,
"outputs",
false
false,
);

if (newHash) {
Expand Down

0 comments on commit cb7501d

Please sign in to comment.