Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
alanhamlett committed Oct 17, 2023
1 parent c57818b commit 625410d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/core/WakaTimeCore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ class WakaTimeCore {
};

payload.project = heartbeat.project ?? '<<LAST_PROJECT>>';
payload.branch= heartbeat.branch ?? '<<LAST_BRANCH>>';
payload.branch = heartbeat.branch ?? '<<LAST_BRANCH>>';

return payload;
}
Expand Down
2 changes: 1 addition & 1 deletion src/types/heartbeats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ export interface Datum {
}

export interface SendHeartbeat {
branch: string | null;
hostname: string;
project: string | null;
branch: string | null;
url: string;
}

Expand Down
2 changes: 1 addition & 1 deletion src/types/user.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,11 @@ export interface User {
is_hireable: boolean;
is_onboarding_finished: boolean;
languages_used_public: boolean;
last_branch?: string;
last_heartbeat_at: string;
last_plugin: string;
last_plugin_name: string;
last_project?: string;
last_branch?: string;
location: string;
logged_time_public: boolean;
modified_at: string;
Expand Down
6 changes: 5 additions & 1 deletion webpack.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,9 @@ export default (
arv: Record<string, string>,
): webpack.Configuration[] => {
const isProd = arv.mode !== 'development';
return [getConfigByBrowser(isProd, 'chrome'), getConfigByBrowser(isProd, 'firefox'), getConfigByBrowser(isProd, 'edge')];
return [
getConfigByBrowser(isProd, 'chrome'),
getConfigByBrowser(isProd, 'firefox'),
getConfigByBrowser(isProd, 'edge'),
];
};

0 comments on commit 625410d

Please sign in to comment.