(filePath)
| 67 | ensureDir(path.dirname(targetPath)); |
| 68 | fs.copyFileSync(sourcePath, targetPath); |
| 69 | } |
| 70 | |
| 71 | function generateDelegate(scriptName) { |
| 72 | return ( |
| 73 | "#!/usr/bin/env node\n" + |
| 74 | "'use strict';\n" + |
| 75 | "const { spawnSync } = require('child_process');\n" + |
| 76 | "const fs = require('fs');\n" + |
| 77 | "const path = require('path');\n" + |
| 78 | "const pluginRoot = fs.readFileSync(path.join(__dirname, '..', 'plugin-root.txt'), 'utf8').trim();\n" + |
no outgoing calls
no test coverage detected