Skip to content
This repository has been archived by the owner on Jul 26, 2023. It is now read-only.

Commit

Permalink
chore(core): tidying code
Browse files Browse the repository at this point in the history
Mostly formatting issues.
  • Loading branch information
markmcdowell committed Apr 21, 2020
1 parent 4f6a9f2 commit 3b0cdd9
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 11 deletions.
1 change: 0 additions & 1 deletion packages/desktop-core/src/events/loginApplicationEvents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const registerLoginEventsHandler = (app: App) => {
const id = `${webContents.id}`;

routerService.on(ReservedChannels.login_auth, (loginAuth: ILoginResponse) => {

if (loginAuth.id === id) {

const { username, password } = loginAuth.auth;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export class CompositeLauncherService implements ILauncherService {
}

public canLaunch(configuration: IConfiguration): boolean {

return this
.launchers
.some((launcher) => launcher.canLaunch(configuration));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export class ElectronServiceLauncherService implements ILauncherService {
}

public canLaunch = (configuration: IConfiguration) => {

if (configuration.kind !== ConfigurationKind.Service) {
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ export class NodeServiceLauncherService implements ILauncherService {
}

public canLaunch = (configuration: IConfiguration) => {

if (configuration.kind !== ConfigurationKind.Service) {
return false;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export class ApplicationEventsProcessFork implements IProcessFork {
}

public async fork(args: string[], env: IEnvironmentVariables) {

return this
.processFork
.fork(args, env)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export class ElectronEventsProcessExec implements IProcessExec {
}

public async exec(file: string, args?: string[], env?: IEnvironmentVariables) {

return this
.processExec
.exec(file, args, env)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export class ElectronEventsProcessFork implements IProcessFork {
}

public async fork(args: string[], env: IEnvironmentVariables) {

return this
.processFork
.fork(args, env)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export class SignalHandlingProcessExec implements IProcessExec {
}

public async exec(file: string, args?: string[], env?: IEnvironmentVariables) {

return this
.processExec
.exec(file, args, env)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ export class SignalHandlingProcessFork implements IProcessFork {
}

public async fork(args: string[], env: IEnvironmentVariables) {

return this
.processFork
.fork(args, env)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export class ConfigurationRegistryService implements IRegistryService {
}

public async registerConfig(path: string) {

return this
.loader
.load(path)
Expand All @@ -34,7 +33,6 @@ export class ConfigurationRegistryService implements IRegistryService {
}

public async registerUrl(url: string) {

return this
.generator
.generate(ConfigurationKind.Application, url, url)
Expand Down

0 comments on commit 3b0cdd9

Please sign in to comment.