Skip to content

Commit

Permalink
fix(references): flushing the filtered reference warnings (#598)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbanksdesign authored Apr 9, 2021
1 parent cd09589 commit d3b5135
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/buildFile.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ function buildFile(file = {}, platform = {}, dictionary = {}) {
}

if (filteredReferencesCount > 0) {
let filteredReferencesWarnings = GroupMessages.fetchMessages(GroupMessages.GROUP.FilteredOutputReferences).join('\n ');
let filteredReferencesWarnings = GroupMessages.flush(GroupMessages.GROUP.FilteredOutputReferences).join('\n ');
let title = `While building ${chalk.keyword('orangered').bold(destination)}, filtered out token references were found; output may be unexpected. Here are the references that are used but not defined in the file`;
let help = chalk.keyword('orange')([
'This is caused when combining a filter and `outputReferences`.',
Expand Down

0 comments on commit d3b5135

Please sign in to comment.