(fileName)
| 291 | } |
| 292 | |
| 293 | function getSerialCommand(fileName) { |
| 294 | let extension = fileName.split("."); |
| 295 | if (extension.length > 1) { |
| 296 | extension = extension[extension.length - 1].toLowerCase(); |
| 297 | return EXECUTABLE[extension]; |
| 298 | } |
| 299 | |
| 300 | return undefined; |
| 301 | } |
| 302 | |
| 303 | function calcHash(str) { |
| 304 | let hash = 5381; |
no outgoing calls
no test coverage detected