Skip to content

Commit

Permalink
chore: rename darwin to macos (podman-desktop#10136)
Browse files Browse the repository at this point in the history
* chore: rename darwin to macos

Signed-off-by: axel7083 <[email protected]>

* fix: remove uppercase M to macOS

Signed-off-by: axel7083 <[email protected]>

---------

Signed-off-by: axel7083 <[email protected]>
  • Loading branch information
axel7083 authored Nov 27, 2024
1 parent 184e7b5 commit 650a00c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/main/src/plugin/util/sys-info.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,5 +92,5 @@ test('darwin should use os#release and os#arch', () => {
expect(version).not.toHaveBeenCalled();
expect(arch).toHaveBeenCalled();

expect(result).toBe('Darwin 23.9.4 - arm64');
expect(result).toBe('macOS 23.9.4 - arm64');
});
2 changes: 1 addition & 1 deletion packages/main/src/plugin/util/sys-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class DarwinInfo extends SystemInfo {
* so we use release to get the os version (E.g. 24.1.0), and arch (E.g. arm64)
*/
override getSystemName(): string {
return `Darwin ${release()} - ${arch()}`;
return `macOS ${release()} - ${arch()}`;
}
}

Expand Down

0 comments on commit 650a00c

Please sign in to comment.