()
| 22 | private String command; |
| 23 | |
| 24 | @Override |
| 25 | public void command() throws MojoExecutionException, IOException { |
| 26 | Path commandPath = Paths.get(hookPath); |
| 27 | |
| 28 | checkParentDirectoryExists(commandPath); |
| 29 | createCommand(commandPath, command); |
| 30 | } |
| 31 | |
| 32 | private void checkParentDirectoryExists(Path huskyCommandPath) throws MojoExecutionException { |
| 33 | if (!Files.exists(huskyCommandPath.getParent())) { |
nothing calls this directly
no test coverage detected