| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -65430,6 +65430,7 @@ const semver = __importStar(__nccwpck_require__(1383)); | |||
| 65430 | 65430 | const exec = __importStar(__nccwpck_require__(1514)); | |
| 65431 | 65431 | exports.IS_WINDOWS = process.platform === 'win32'; | |
| 65432 | 65432 | exports.IS_LINUX = process.platform === 'linux'; | |
| 65433 | + exports.IS_MAC = process.platform === 'darwin'; | ||
| 65433 | 65434 | exports.WINDOWS_ARCHS = ['x86', 'x64']; | |
| 65434 | 65435 | exports.WINDOWS_PLATFORMS = ['win32', 'win64']; | |
| 65435 | 65436 | const PYPY_VERSION_FILE = 'PYPY_VERSION'; | |
@@ -65761,4 +65762,4 @@ module.exports = JSON.parse('["ac","com.ac","edu.ac","gov.ac","net.ac","mil.ac", | |||
| 65761 | 65762 | /******/ module.exports = __webpack_exports__; | |
| 65762 | 65763 | /******/ | |
| 65763 | 65764 | /******/ })() | |
| 65764 | - ; | ||
| 65765 | + ; | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,7 +7,8 @@ import fs from 'fs'; | |||
| 7 | 7 | import {getCacheDistributor} from './cache-distributions/cache-factory'; | |
| 8 | 8 | import { | |
| 9 | 9 | isCacheFeatureAvailable, | |
| 10 | - logWarning | ||
| 10 | + logWarning, | ||
| 11 | + IS_MAC | ||
| 11 | 12 | } from './utils'; | |
| 12 | 13 | ||
| 13 | 14 | function isPyPyVersion(versionSpec: string) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,6 +7,7 @@ import * as exec from '@actions/exec'; | |||
| 7 | 7 | ||
| 8 | 8 | export const IS_WINDOWS = process.platform === 'win32'; | |
| 9 | 9 | export const IS_LINUX = process.platform === 'linux'; | |
| 10 | + export const IS_MAC = process.platform === 'darwin'; | ||
| 10 | 11 | export const WINDOWS_ARCHS = ['x86', 'x64']; | |
| 11 | 12 | export const WINDOWS_PLATFORMS = ['win32', 'win64']; | |
| 12 | 13 | const PYPY_VERSION_FILE = 'PYPY_VERSION'; | |
| Back | FazBrowse Home | New Git URL |
0 commit comments