mirror of
https://github.com/Azure/setup-helm.git
synced 2026-07-11 02:31:40 +00:00
a517f2ff65
Co-authored-by: taakleton <taakleton@users.noreply.github.com>
10 lines
293 B
JavaScript
10 lines
293 B
JavaScript
'use strict';
|
|
|
|
module.exports = (
|
|
// node 12+
|
|
process.allowedNodeEnvironmentFlags && process.allowedNodeEnvironmentFlags.has('--preserve-symlinks')
|
|
) || (
|
|
// node v6.2 - v11
|
|
String(module.constructor._findPath).indexOf('preserveSymlinks') >= 0 // eslint-disable-line no-underscore-dangle
|
|
);
|