Skip to content

Commit

Permalink
Merge pull request #231 from ubiquity-os/development
Browse files Browse the repository at this point in the history
Merge development into main
  • Loading branch information
gentlementlegen authored Jan 9, 2025
2 parents 359404b + 32996e5 commit 6f1d07d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"GHIJKLMNOPQRSTUVWXYZ",
"ubiquityos",
"azurefunc",
"marplex"
"marplex",
"ratelimit"
],
"dictionaries": ["typescript", "node", "software-terms"],
"import": ["@cspell/dict-typescript/cspell-ext.json", "@cspell/dict-node/cspell-ext.json", "@cspell/dict-software-terms"],
Expand Down
2 changes: 1 addition & 1 deletion src/github/utils/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ async function download({ context, repository, owner }: { context: GitHubContext
path: filePath,
mediaType: { format: "raw" },
});
console.log(`Configuration file found at ${owner}/${repository}/${filePath}. xRateLimit remaining: ${headers["x-ratelimit-remaining"]}`);
console.log(`Configuration file found at ${owner}/${repository}/${filePath}. xRateLimit remaining: ${headers?.["x-ratelimit-remaining"]}`);
return data as unknown as string; // this will be a string if media format is raw
} catch (err) {
// In case of a missing config, do not log it as an error
Expand Down

0 comments on commit 6f1d07d

Please sign in to comment.