Skip to content

Commit

Permalink
Remove emit cache in favor of ensuring all parents are added in reaso…
Browse files Browse the repository at this point in the history
…ns (#240)

* Remove emit caching

* Ensure all parents are added in reasons

* re-add integration cache test

* sort test items

* update test
  • Loading branch information
ijjk authored Oct 15, 2021
1 parent 860b531 commit f146d3c
Show file tree
Hide file tree
Showing 16 changed files with 256 additions and 247 deletions.
4 changes: 2 additions & 2 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ async function cli(
};

const { fileList, esmFileList, warnings } = await nodeFileTrace(files, opts);
const allFiles = fileList.concat(esmFileList);
const allFiles = [...fileList].concat([...esmFileList]).sort();
const stdout = [];

if (action === 'print') {
stdout.push('FILELIST:')
stdout.push(...allFiles);
stdout.push('\n');
if (warnings.length > 0) {
if (warnings.size > 0) {
stdout.push('WARNINGS:');
stdout.push(...warnings);
}
Expand Down
Loading

0 comments on commit f146d3c

Please sign in to comment.