(filePath)
| 163 | } |
| 164 | |
| 165 | function lstatTarget(filePath) { |
| 166 | try { |
| 167 | return fs.lstatSync(filePath); |
| 168 | } catch (error) { |
| 169 | if (error.code === "ENOENT") { |
| 170 | return null; |
| 171 | } |
| 172 | fail(`Failed to inspect target env file: ${error.message}`); |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | function validateTargetFileType(filePath, stat) { |
| 177 | if (stat == null) { |
no test coverage detected