mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
src,test: further cleanup references to osx
PR-URL: https://github.com/nodejs/node/pull/53820 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
This commit is contained in:
1 parent
3a43e55a00
commit
cff7da7749
36 files changed
+48
-48
No files matched your search
@@ -282,7 +282,7 @@ Platform check for Linux.
|
||||
|
||||
Platform check for Linux on PowerPC.
|
||||
|
||||
### `isOSX`
|
||||
### `isMacOS`
|
||||
|
||||
* [\<boolean>][<boolean>]
|
||||
|
||||
|
||||
@@ -141,7 +141,7 @@ const isSunOS = process.platform === 'sunos';
|
||||
const isFreeBSD = process.platform === 'freebsd';
|
||||
const isOpenBSD = process.platform === 'openbsd';
|
||||
const isLinux = process.platform === 'linux';
|
||||
const isOSX = process.platform === 'darwin';
|
||||
const isMacOS = process.platform === 'darwin';
|
||||
const isASan = process.config.variables.asan === 1;
|
||||
const isPi = (() => {
|
||||
try {
|
||||
@@ -1003,7 +1003,7 @@ const common = {
|
||||
isLinux,
|
||||
isMainThread,
|
||||
isOpenBSD,
|
||||
isOSX,
|
||||
isMacOS,
|
||||
isPi,
|
||||
isSunOS,
|
||||
isWindows,
|
||||
|
||||
@@ -30,7 +30,7 @@ const {
|
||||
isLinuxPPCBE,
|
||||
isMainThread,
|
||||
isOpenBSD,
|
||||
isOSX,
|
||||
isMacOS,
|
||||
isSunOS,
|
||||
isWindows,
|
||||
localIPv6Hosts,
|
||||
@@ -85,7 +85,7 @@ export {
|
||||
isLinuxPPCBE,
|
||||
isMainThread,
|
||||
isOpenBSD,
|
||||
isOSX,
|
||||
isMacOS,
|
||||
isSunOS,
|
||||
isWindows,
|
||||
localIPv6Hosts,
|
||||
|
||||
@@ -22,7 +22,7 @@ function addLibraryPath(env) {
|
||||
env.LIBPATH =
|
||||
(env.LIBPATH ? env.LIBPATH + path.delimiter : '') +
|
||||
kExecPath;
|
||||
// For Mac OSX.
|
||||
// For macOS.
|
||||
env.DYLD_LIBRARY_PATH =
|
||||
(env.DYLD_LIBRARY_PATH ? env.DYLD_LIBRARY_PATH + path.delimiter : '') +
|
||||
kExecPath;
|
||||
|
||||
Reference in new issue
Block a user