(targetPath, content)
| 1957 | } |
| 1958 | |
| 1959 | function writeExecutableScript(targetPath, content) { |
| 1960 | ensureDir(path.dirname(targetPath)); |
| 1961 | fs.writeFileSync(targetPath, content, { encoding: 'utf8', mode: 0o755 }); |
| 1962 | fs.chmodSync(targetPath, 0o755); |
| 1963 | } |
| 1964 | |
| 1965 | function repairMigratedInstallWrappers(targetHome) { |
| 1966 | const installBinDir = path.join(targetHome, 'cli', 'bin'); |
no test coverage detected