From 5290544e83abf8aea3b3a763791b74558bc48c34 Mon Sep 17 00:00:00 2001 From: aleitner Date: Mon, 17 Oct 2016 16:43:25 -0400 Subject: [PATCH] Resolve jslint issues --- app/lib/tab.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/lib/tab.js b/app/lib/tab.js index 168f226..28317c4 100644 --- a/app/lib/tab.js +++ b/app/lib/tab.js @@ -96,13 +96,18 @@ Tab.prototype.createID = function() { ).digest('hex'); }; +/** + * Updates storage.path and storage.dataDir + * #updateStoragePath + * @param {String} newPath - New path for Shard Storage + */ Tab.prototype.updateStoragePath = function(newPath) { this.storage.path = newPath; this.storage.dataDir = path.join( this.storage.path, 'storjshare-' +this.shortId ); -} +}; /** * Returns an abject suitable for commiting to disk