mirror of
https://github.com/electron/node-gyp.git
synced 2025-08-15 12:58:19 +02:00

test/test-configure-python.js downloads a fresh set of headers to the package directory each time. By setting to the default global cache dir we get to re-use cached headers and skip the download step. PR-URL: https://github.com/nodejs/node-gyp/pull/1796 Reviewed-By: Richard Lau <riclau@uk.ibm.com>
3 lines
112 B
JavaScript
3 lines
112 B
JavaScript
const envPaths = require('env-paths')
|
|
|
|
module.exports.devDir = () => envPaths('node-gyp', { suffix: '' }).cache
|