diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-03-07 18:53:03 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-03-07 18:53:03 +0100 |
commit | 3d446a26ada901331faaaf3be9083dfe6773b50a (patch) | |
tree | 35262fa99301db3f22ca6e61a84ce346ed4f4bb7 /server/initializers/checker.js | |
parent | 6a1e67b30a77b0e24314617f794a7122dd83c570 (diff) | |
download | PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.gz PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.zst PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.zip |
Fix tests
Diffstat (limited to 'server/initializers/checker.js')
-rw-r--r-- | server/initializers/checker.js | 2 |
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 | } |