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) {