diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-06-05 21:53:49 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-06-05 21:53:49 +0200 |
commit | 4d4e5cd4dca78480ec7f40e747f424cd107376a4 (patch) | |
tree | 1b132aab503751ae0f4c8ee6c7595ad2d65f3a50 /server/helpers/logger.ts | |
parent | e02643f32e4c97ca307f8fc5b69be79c40d70a3b (diff) | |
download | PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.gz PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.tar.zst PeerTube-4d4e5cd4dca78480ec7f40e747f424cd107376a4.zip |
require -> import
Diffstat (limited to 'server/helpers/logger.ts')
-rw-r--r-- | server/helpers/logger.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/helpers/logger.ts b/server/helpers/logger.ts index 7c99db55f..d8f2f687c 100644 --- a/server/helpers/logger.ts +++ b/server/helpers/logger.ts | |||
@@ -1,7 +1,7 @@ | |||
1 | // Thanks http://tostring.it/2014/06/23/advanced-logging-with-nodejs/ | 1 | // Thanks http://tostring.it/2014/06/23/advanced-logging-with-nodejs/ |
2 | import mkdirp = require('mkdirp') | 2 | import * as mkdirp from 'mkdirp' |
3 | import path = require('path') | 3 | import * as path from 'path' |
4 | import winston = require('winston') | 4 | import * as winston from 'winston' |
5 | 5 | ||
6 | // Do not use barrel (dependencies issues) | 6 | // Do not use barrel (dependencies issues) |
7 | import { CONFIG } from '../initializers/constants' | 7 | import { CONFIG } from '../initializers/constants' |