Skip to content

Commit

Permalink
Fixed CodeClimate issues (code formatting)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrienCastex committed Jun 2, 2017
1 parent 6378c48 commit 325f30f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/manager/VirtualStoredFSManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export abstract class VirtualStoredContentManager implements IVirtualStoredConte
export class SimpleVirtualStoredContentManager extends VirtualStoredContentManager
{
initialized : boolean = false;
uid : string = "SimpleVirtualStoredContentManager_1.3.3";
uid : string = 'SimpleVirtualStoredContentManager_1.3.3';
cid : number = 0;

constructor(public storeFolderPath : string)
Expand Down
2 changes: 1 addition & 1 deletion src/resource/std/ResourceTester.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ export class ResourceTester<T extends IResource>
test('rename');
test('writeRead');
test('mimeType');
test('size');/*
test('size'); /*
test('getLocks');
test('setLock');
test('removeLock');
Expand Down
2 changes: 1 addition & 1 deletion src/resource/virtual/VirtualFile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class VirtualFile extends VirtualResource
// ****************************** Content ****************************** //
write(targetSource : boolean, callback : ReturnCallback<Writable>)
{
let content = [];
const content = [];
const stream = new VirtualFileWritable(content);
stream.on('finish', () => {
this.content = content;
Expand Down
2 changes: 1 addition & 1 deletion src/server/commands/Copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function copy(arg : MethodCallArgs, source : IResource, rDest : IResource, desti
if(error)
process.nextTick(() => callback(error));
else
process.nextTick(() => cb());
process.nextTick(cb);
}

arg.requirePrivilege([ 'canGetType', 'canRead', 'canGetChildren', 'canGetProperties' ], source, () => {
Expand Down
2 changes: 1 addition & 1 deletion src/server/commands/Put.ts
Original file line number Diff line number Diff line change
Expand Up @@ -226,4 +226,4 @@ function asyncWrite(arg : MethodCallArgs, callback : StartChunkedCallback, resou
})
})
}
*/
*/

0 comments on commit 325f30f

Please sign in to comment.