diff --git a/lib/buildFile.js b/lib/buildFile.js index 5917e056d..54f2e427d 100644 --- a/lib/buildFile.js +++ b/lib/buildFile.js @@ -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`.',