From 9ea14a35df56285f2b72c0be4d82a49aee88a2d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sylvain=20Fra=C3=AFss=C3=A9?= Date: Wed, 12 Aug 2015 18:37:17 +0200 Subject: [PATCH] fix: transmit the configured pattern (through the options) to the Processor in order to process exactly the files defined by this supplied pattern. --- lib/commands/check.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/commands/check.js b/lib/commands/check.js index 098ff14..de58fbd 100644 --- a/lib/commands/check.js +++ b/lib/commands/check.js @@ -35,6 +35,7 @@ Check.prototype.setUpProcessors = function() { new Processor(this.translations, { translations: this.translations, checkWrapper: this.checkWrapper.bind(this), + pattern: this.options.pattern, only: this.options.only, directory: this.options.directory })