Skip to content

Commit

Permalink
change config file name
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihpense committed Aug 25, 2020
1 parent fd48142 commit e6b303e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/main/java/com/pizug/cpi/mappingtest/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
public class App implements Callable<Integer> {

@Option(names = { "-d",
"--directory" }, paramLabel = "DIRECTORY", description = "the directory containing test data and pizugtest.yaml configuration")
"--directory" }, paramLabel = "DIRECTORY", description = "the directory containing test data and pizug-test.yaml configuration")
String directoryString;

@Option(names = { "-p", "--password" }, description = "Default password for CPI user", interactive = true)
Expand All @@ -53,10 +53,10 @@ public Integer call() throws Exception {
}

Path directoryPath = Paths.get(directoryString);
Path configFile = Paths.get(directoryString, "pizugtest.yaml");
Path configFile = Paths.get(directoryString, "pizug-test.yaml");

if (!Files.exists(configFile)) {
System.out.println("No pizugtest.yaml config file found: " + configFile.normalize().toAbsolutePath());
System.out.println("No pizug-test.yaml config file found: " + configFile.normalize().toAbsolutePath());
return 1;
}

Expand Down

0 comments on commit e6b303e

Please sign in to comment.