From 68f178563389c416acc520beb04eee9fdf05c0e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Jamr=C3=B3z?= Date: Tue, 8 Nov 2022 20:37:02 +0100 Subject: [PATCH] Fix debt script paths --- tools/debt.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/debt.js b/tools/debt.js index daa16792..611f08da 100644 --- a/tools/debt.js +++ b/tools/debt.js @@ -8,8 +8,8 @@ var path = require('path'); var config = { excludeBase: ['.git', 'node_modules', 'coverage', 'docs', 'bundle', 'samples'], - excludeFolders: ['js\\libs'], - excludeFiles: ['js\\utils\\courier-prime-font.js'] + excludeFolders: [path.join('js', 'libs'), path.join('js', 'fonts'), path.join('test', 'client', 'fonts')], + excludeFiles: [path.join('js','utils', 'courier-prime-font.js')], }; var data = { @@ -76,4 +76,4 @@ function printDebt(data) { getFiles(config, data, function() { calcDebt(data); printDebt(data); -}); \ No newline at end of file +});