Skip to content

Commit b5bc478

Browse files
committed
Fix incorrect null check
1 parent 921ad38 commit b5bc478

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/src/info/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export async function getRawPackages(gitRoot: string, maxDepth?: number) {
4343

4444
output[packageJson.name] = {
4545
directory: currentDir,
46-
hasChanges: packagesWithResolutionChanges?.includes(packageJson.name) ?? hasChanges,
46+
hasChanges: hasChanges || packagesWithResolutionChanges?.includes(packageJson.name),
4747
package: packageJson
4848
};
4949
} catch (error) {

0 commit comments

Comments
 (0)