Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
TigerHix authored Nov 2, 2021
1 parent e736a7b commit c98a505
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import { fetch } from 'cross-fetch';
})

const fileURLs: string[] = diffFiles.map(filePath => {
console.log(filePath);
return (urlPrefix.endsWith('/') ? urlPrefix : urlPrefix + '/') + filePath.replace('public/', ''); // Remove public prefix
})
console.log("Changed files:", JSON.stringify(fileURLs, null, 2));
Expand Down

0 comments on commit c98a505

Please sign in to comment.