From 3277908bb97c20ca93440f5f5a9f785f22b4cb4a Mon Sep 17 00:00:00 2001 From: Adrien Castex Date: Fri, 4 Aug 2017 09:28:33 +0200 Subject: [PATCH] Removed forgotten 'console.log' --- lib/manager/v2/instances/PhysicalFileSystem.js | 1 - lib/server/v2/commands/Lock.js | 1 - src/manager/v2/instances/PhysicalFileSystem.ts | 1 - src/server/v2/commands/Lock.ts | 1 - 4 files changed, 4 deletions(-) diff --git a/lib/manager/v2/instances/PhysicalFileSystem.js b/lib/manager/v2/instances/PhysicalFileSystem.js index 4f14e14c..c0465bbe 100644 --- a/lib/manager/v2/instances/PhysicalFileSystem.js +++ b/lib/manager/v2/instances/PhysicalFileSystem.js @@ -110,7 +110,6 @@ var PhysicalFileSystem = (function (_super) { this.type(ctx.context, path, function (e, type) { if (e) return callback(Errors_1.Errors.ResourceNotFound); - console.log(path.toString()); if (type.isDirectory) { if (ctx.depth === 0) return fs.rmdir(realPath, callback); diff --git a/lib/server/v2/commands/Lock.js b/lib/server/v2/commands/Lock.js index 8e7e1b60..b61bbb56 100644 --- a/lib/server/v2/commands/Lock.js +++ b/lib/server/v2/commands/Lock.js @@ -86,7 +86,6 @@ function createLock(ctx, data, callback) { }); } catch (ex) { - console.log(ex); ctx.setCode(WebDAVRequest_1.HTTPCodes.BadRequest); callback(); return; diff --git a/src/manager/v2/instances/PhysicalFileSystem.ts b/src/manager/v2/instances/PhysicalFileSystem.ts index 5e2d46a4..ad2319d4 100644 --- a/src/manager/v2/instances/PhysicalFileSystem.ts +++ b/src/manager/v2/instances/PhysicalFileSystem.ts @@ -150,7 +150,6 @@ export class PhysicalFileSystem extends FileSystem this.type(ctx.context, path, (e, type) => { if(e) return callback(Errors.ResourceNotFound); - console.log(path.toString()); if(type.isDirectory) { diff --git a/src/server/v2/commands/Lock.ts b/src/server/v2/commands/Lock.ts index fe9d9b16..7e70f350 100644 --- a/src/server/v2/commands/Lock.ts +++ b/src/server/v2/commands/Lock.ts @@ -109,7 +109,6 @@ function createLock(ctx : HTTPRequestContext, data : Buffer, callback) } catch(ex) { - console.log(ex); ctx.setCode(HTTPCodes.BadRequest); callback(); return;