linter
This commit is contained in:
@@ -354,7 +354,7 @@ class WakaTimeCore {
|
|||||||
};
|
};
|
||||||
|
|
||||||
payload.project = heartbeat.project ?? '<<LAST_PROJECT>>';
|
payload.project = heartbeat.project ?? '<<LAST_PROJECT>>';
|
||||||
payload.branch= heartbeat.branch ?? '<<LAST_BRANCH>>';
|
payload.branch = heartbeat.branch ?? '<<LAST_BRANCH>>';
|
||||||
|
|
||||||
return payload;
|
return payload;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -28,9 +28,9 @@ export interface Datum {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface SendHeartbeat {
|
export interface SendHeartbeat {
|
||||||
|
branch: string | null;
|
||||||
hostname: string;
|
hostname: string;
|
||||||
project: string | null;
|
project: string | null;
|
||||||
branch: string | null;
|
|
||||||
url: string;
|
url: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,11 +25,11 @@ export interface User {
|
|||||||
is_hireable: boolean;
|
is_hireable: boolean;
|
||||||
is_onboarding_finished: boolean;
|
is_onboarding_finished: boolean;
|
||||||
languages_used_public: boolean;
|
languages_used_public: boolean;
|
||||||
|
last_branch?: string;
|
||||||
last_heartbeat_at: string;
|
last_heartbeat_at: string;
|
||||||
last_plugin: string;
|
last_plugin: string;
|
||||||
last_plugin_name: string;
|
last_plugin_name: string;
|
||||||
last_project?: string;
|
last_project?: string;
|
||||||
last_branch?: string;
|
|
||||||
location: string;
|
location: string;
|
||||||
logged_time_public: boolean;
|
logged_time_public: boolean;
|
||||||
modified_at: string;
|
modified_at: string;
|
||||||
|
|||||||
@@ -75,5 +75,9 @@ export default (
|
|||||||
arv: Record<string, string>,
|
arv: Record<string, string>,
|
||||||
): webpack.Configuration[] => {
|
): webpack.Configuration[] => {
|
||||||
const isProd = arv.mode !== 'development';
|
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'),
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user