Skip to content
This repository was archived by the owner on May 24, 2022. It is now read-only.
Prev Previous commit
Next Next commit
Fix lint in electron
  • Loading branch information
amaury1093 committed Nov 22, 2018
commit de8eedd8220dc7c39165920a5db990a07c236a1c
2 changes: 1 addition & 1 deletion packages/electron/src/checkClockSync.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const MAX_TIME_DRIFT = 10000; // milliseconds
/**
* Use SNTP to check if the local clock is synchronized; return the time drift.
*/
export async function checkClockSync(): Promise<CheckClockSyncResult> {
export async function checkClockSync (): Promise<CheckClockSyncResult> {
const { t: timeDrift }: { t: number } = await time();
return {
isClockSync: timeDrift < MAX_TIME_DRIFT,
Expand Down
4 changes: 2 additions & 2 deletions packages/electron/src/fetchParity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const getOs = () => {
/**
* Remove parity binary or partial binary in the userData folder, if it exists.
*/
export async function deleteParity() {
export async function deleteParity () {
const parityPath = await defaultParityPath();

// Remove parity binary
Expand All @@ -103,7 +103,7 @@ export async function deleteParity() {
* Downloads Parity, saves it to Electron's `userData` folder, and returns the
* path to the downloaded binary once finished.
*/
export async function fetchParity(
export async function fetchParity (
mainWindow: BrowserWindow,
options: FetchParityOptions = {
onProgress: () => {
Expand Down