diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-11 21:19:34 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-13 14:23:11 +0200 |
commit | bc503c2a62dcf9aed6b8d90b68f0f27a7755ac01 (patch) | |
tree | a1fe1ad88afd29ee4d7cb05c480649d5a9c6f9a0 /server/helpers/utils.js | |
parent | 881a5e68b64e4acd43408852bbdc914643d8fac6 (diff) | |
download | PeerTube-bc503c2a62dcf9aed6b8d90b68f0f27a7755ac01.tar.gz PeerTube-bc503c2a62dcf9aed6b8d90b68f0f27a7755ac01.tar.zst PeerTube-bc503c2a62dcf9aed6b8d90b68f0f27a7755ac01.zip |
Update to standard 7. Goodbye snake_case, I used to love you
Diffstat (limited to 'server/helpers/utils.js')
-rw-r--r-- | server/helpers/utils.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/helpers/utils.js b/server/helpers/utils.js index 9d4d51c46..a77116e08 100644 --- a/server/helpers/utils.js +++ b/server/helpers/utils.js | |||
@@ -17,9 +17,9 @@ function generateRandomString (size, callback) { | |||
17 | }) | 17 | }) |
18 | } | 18 | } |
19 | 19 | ||
20 | function cleanForExit (webtorrent_process) { | 20 | function cleanForExit (webtorrentProcess) { |
21 | logger.info('Gracefully exiting.') | 21 | logger.info('Gracefully exiting.') |
22 | process.kill(-webtorrent_process.pid) | 22 | process.kill(-webtorrentProcess.pid) |
23 | } | 23 | } |
24 | 24 | ||
25 | // --------------------------------------------------------------------------- | 25 | // --------------------------------------------------------------------------- |