From 7dec41e4f8879d09b85dce335ad8fa48846da7da Mon Sep 17 00:00:00 2001 From: Roman Dvornov Date: Tue, 16 Jan 2018 23:03:03 +0300 Subject: [PATCH] remove redundant code that leads to infinite recursion on CSS minification --- lib/common/files.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/common/files.js b/lib/common/files.js index 47ca039..3c306d2 100644 --- a/lib/common/files.js +++ b/lib/common/files.js @@ -173,10 +173,6 @@ File.prototype = { if (token) { - if (!token.links) - token.links = []; - token.links.push(link); - if (file.warn) { var loc = token.loc || '';