Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Wentao-Kuang committed Oct 10, 2023
1 parent 3873503 commit bc7d011
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/config/src/json/json.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const Q = PLimit(10);

export function guessIdFromUri(uri: string): string | null {
const parts = uri.split('/');
const id = uri.endsWith('/') ? parts.at(-2) : parts.at(-1)
const id = uri.endsWith('/') ? parts.at(-2) : parts.at(-1);

if (id == null) return null;
try {
Expand Down

0 comments on commit bc7d011

Please sign in to comment.