Skip to content

Commit

Permalink
Merge pull request #185 from ifrost/chore/fix-paths
Browse files Browse the repository at this point in the history
Fix debt script paths
  • Loading branch information
ifrost committed Jul 20, 2023
2 parents 3ec9532 + 68f1785 commit 8207be7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tools/debt.js
Expand Up @@ -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 = {
Expand Down Expand Up @@ -76,4 +76,4 @@ function printDebt(data) {
getFiles(config, data, function() {
calcDebt(data);
printDebt(data);
});
});

0 comments on commit 8207be7

Please sign in to comment.