@epic-web/workshop-utils 6.87.2 → 6.87.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -110,15 +110,11 @@ async function checkDependenciesWithNpmLs(rootDir, expectedDependencies, package
110
110
  try {
111
111
  const result = await execa(command, ['ls', '--depth=0', '--json', ...expectedDependencies], { cwd: rootDir, reject: false });
112
112
  const output = parseNpmLsOutput(result.stdout);
113
- const ok = result.exitCode === 0;
114
- const failingDependencies = ok
115
- ? []
116
- : getFailingDependencies(expectedDependencies, output);
113
+ const failingDependencies = getFailingDependencies(expectedDependencies, output);
114
+ const ok = failingDependencies.length === 0;
117
115
  return {
118
116
  ok,
119
- failingDependencies: ok || failingDependencies.length > 0
120
- ? failingDependencies
121
- : expectedDependencies,
117
+ failingDependencies,
122
118
  };
123
119
  }
124
120
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@epic-web/workshop-utils",
3
- "version": "6.87.2",
3
+ "version": "6.87.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },