From d424f89fcd437831f4ca5b86671596383f82381d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Cruz?= Date: Sun, 30 Oct 2016 22:08:26 +0000 Subject: [PATCH] CS. --- lib/util/readShebang.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/util/readShebang.js b/lib/util/readShebang.js index 93ea828..2cf3541 100644 --- a/lib/util/readShebang.js +++ b/lib/util/readShebang.js @@ -3,6 +3,7 @@ var fs = require('fs'); var LRU = require('lru-cache'); var shebangCommand = require('shebang-command'); + var shebangCache = new LRU({ max: 50, maxAge: 30 * 1000 }); // Cache just for 30sec function readShebang(command) {