xref: /third_party/node/deps/npm/lib/utils/is-windows.js (revision 1cb0ef41)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/node/deps/npm/lib/utils/
11cb0ef41Sopenharmony_ciconst isWindows = process.platform === 'win32'
21cb0ef41Sopenharmony_ciconst isWindowsShell = isWindows &&
31cb0ef41Sopenharmony_ci  !/^MINGW(32|64)$/.test(process.env.MSYSTEM) && process.env.TERM !== 'cygwin'
41cb0ef41Sopenharmony_ci
51cb0ef41Sopenharmony_ciexports.isWindows = isWindows
61cb0ef41Sopenharmony_ciexports.isWindowsShell = isWindowsShell
7

Indexes created Thu Nov 07 10:32:03 CST 2024