Skip to content

Commit

Permalink
Fixed code format
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed Jun 15, 2017
1 parent be2c77a commit 40dba6b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
5 changes: 2 additions & 3 deletions lib/server/webDAVServer/WebDAVServer.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import { HTTPAuthentication } from '../../user/authentication/HTTPAuthentication
import { IPrivilegeManager } from '../../user/privilege/IPrivilegeManager';
import { FSPath } from '../../manager/FSManager';
import { IUserManager } from '../../user/IUserManager';
import * as https from 'https';
import * as http from 'http';
import * as persistence from './Persistence';
import * as beforeAfter from './BeforeAfter';
import * as startStop from './StartStop';
import * as events from './Events';
import * as https from 'https';
import * as http from 'http';
export { WebDAVServerOptions } from '../WebDAVServerOptions';
export declare class WebDAVServer {
httpAuthentication: HTTPAuthentication;
Expand Down Expand Up @@ -43,7 +43,6 @@ export declare class WebDAVServer {
protected normalizeMethodName(method: string): string;
beforeRequest: typeof beforeAfter.beforeRequest;
afterRequest: typeof beforeAfter.afterRequest;
protected invokeBARequest: typeof beforeAfter.invokeBARequest;
protected invokeBeforeRequest: typeof beforeAfter.invokeBeforeRequest;
protected invokeAfterRequest: typeof beforeAfter.invokeAfterRequest;
invoke(event: events.EventsName, arg: MethodCallArgs, subjectResource?: IResource | FSPath, details?: events.DetailsType): void;
Expand Down
1 change: 0 additions & 1 deletion lib/server/webDAVServer/WebDAVServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ var WebDAVServer = (function () {
this.save = persistence.save;
this.beforeRequest = beforeAfter.beforeRequest;
this.afterRequest = beforeAfter.afterRequest;
this.invokeBARequest = beforeAfter.invokeBARequest;
this.invokeBeforeRequest = beforeAfter.invokeBeforeRequest;
this.invokeAfterRequest = beforeAfter.invokeAfterRequest;
this.beforeManagers = [];
Expand Down
6 changes: 2 additions & 4 deletions src/server/webDAVServer/WebDAVServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,17 @@ import { IPrivilegeManager } from '../../user/privilege/IPrivilegeManager'
import { FSManager, FSPath } from '../../manager/FSManager'
import { IUserManager } from '../../user/IUserManager'
import Commands from '../commands/Commands'
import * as https from 'https'
import * as http from 'http'

import * as persistence from './Persistence'
import * as beforeAfter from './BeforeAfter'
import * as startStop from './StartStop'
import * as resource from './Resource'
import * as events from './Events'
import * as https from 'https'
import * as http from 'http'

export { WebDAVServerOptions } from '../WebDAVServerOptions'


export class WebDAVServer
{
public httpAuthentication : HTTPAuthentication
Expand Down Expand Up @@ -100,7 +99,6 @@ export class WebDAVServer
beforeRequest = beforeAfter.beforeRequest
afterRequest = beforeAfter.afterRequest

protected invokeBARequest = beforeAfter.invokeBARequest
protected invokeBeforeRequest = beforeAfter.invokeBeforeRequest
protected invokeAfterRequest = beforeAfter.invokeAfterRequest

Expand Down
2 changes: 1 addition & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"no-conditional-assignment": true,
"no-debugger": true,
"no-invalid-template-strings": true,
"no-invalid-this": true,
"no-invalid-this": false,
"no-misused-new": true,
"no-object-literal-type-assertion": false,
"no-sparse-arrays": true,
Expand Down

0 comments on commit 40dba6b

Please sign in to comment.