]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - scripts/parse-log.ts
Fix peertube script
[github/Chocobozzz/PeerTube.git] / scripts / parse-log.ts
index dccab088480d1a0f3a1f3c5249c501f5610f74e8..86aaa7994be9904fc51b3337441a2381c412ca96 100755 (executable)
@@ -1,5 +1,5 @@
 import * as program from 'commander'
-import { createReadStream, readdirSync, statSync } from 'fs'
+import { createReadStream, readdirSync, statSync } from 'fs-extra'
 import { join } from 'path'
 import { createInterface } from 'readline'
 import * as winston from 'winston'
@@ -90,4 +90,4 @@ function getNewestFile (files: string[], basePath: string) {
   out.sort((a, b) => b.mtime - a.mtime)
 
   return (out.length > 0) ? out[ 0 ].file : ''
-}
\ No newline at end of file
+}