aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-07 18:53:03 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-07 18:53:03 +0100
commit3d446a26ada901331faaaf3be9083dfe6773b50a (patch)
tree35262fa99301db3f22ca6e61a84ce346ed4f4bb7 /server/initializers
parent6a1e67b30a77b0e24314617f794a7122dd83c570 (diff)
downloadPeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.gz
PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.zst
PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.zip
Fix tests
Diffstat (limited to 'server/initializers')
-rw-r--r--server/initializers/checker.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/checker.js b/server/initializers/checker.js
index ec7bc0ad2..44d9ea85b 100644
--- a/server/initializers/checker.js
+++ b/server/initializers/checker.js
@@ -34,7 +34,7 @@ function createDirectoriesIfNotExist () {
34 for (var key of Object.keys(storages)) { 34 for (var key of Object.keys(storages)) {
35 var dir = storages[key] 35 var dir = storages[key]
36 try { 36 try {
37 mkdirp.sync(path.join(__dirname, '..', dir)) 37 mkdirp.sync(path.join(__dirname, '..', '..', dir))
38 } catch (error) { 38 } catch (error) {
39 throw new Error('Cannot create ' + path + ':' + error) 39 throw new Error('Cannot create ' + path + ':' + error)
40 } 40 }