Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions runner/launcher/src/mill/launcher/MillProcessLauncher.java
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static List<String> loadMillConfig(String key) throws Exception {
Path buildFile = Paths.get(rootBuildFileName);
if (Files.exists(buildFile)) {
String[] config = cachedComputedValue(
"yaml-config-" + key,
key,
mill.constants.Util.readBuildHeader(
buildFile, buildFile.getFileName().toString()),
() -> {
Expand Down Expand Up @@ -249,7 +249,7 @@ static String[] cachedComputedValue(String name, String key, Supplier<String[]>
static String[] cachedComputedValue0(
String name, String key, Supplier<String[]> block, Function<String[], Boolean> validate) {
try {
Path cacheFile = Paths.get(".").resolve(out).resolve("mill-" + name);
Path cacheFile = Paths.get(".").resolve(out).resolve("mill-launcher/" + name);
String[] value = null;
if (Files.exists(cacheFile)) {
String[] savedInfo = Files.readString(cacheFile).split("\n");
Expand Down