Skip to content

Commit

Permalink
refactor(SkeletonClient): remove redundant assigning of variable
Browse files Browse the repository at this point in the history
  • Loading branch information
zapteryx committed Jun 14, 2024
1 parent b1ab16e commit ab971ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/SkeletonClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,7 @@ export class SkeletonClient extends Client {
| { appName?: string; prefix?: string | string[] },
) {
super(options);
let appName: string = undefined;
appName =
const appName =
typeof appNameOrOptions === 'string'
? appNameOrOptions
: appNameOrOptions?.appName;
Expand Down

0 comments on commit ab971ee

Please sign in to comment.