disabled code is also worth renaming

This commit is contained in:
igorklopov 2016-09-09 23:40:15 +04:00
parent f989d30733
commit cc98361ace

View File

@ -9,11 +9,11 @@ import { version } from '../package.json';
function dontBuild (nodeVersion, targetArch) {
// https://support.apple.com/en-us/HT201948
// don't disable osx-x86 because it breaks
// don't disable macos-x86 because it breaks
// cross-platform tests on x86 hosts
// TODO disabe osx-x86 again once we have
// TODO disabe macos-x86 again once we have
// cross-arch compilation
// if (hostPlatform === 'osx' &&
// if (hostPlatform === 'macos' &&
// targetArch === 'x86') return true;
// official node 0.12 does not compile on arm
if (/^v?0/.test(nodeVersion) &&