From 00a94342d821a2af5e61f50db45e380c5314e2d6 Mon Sep 17 00:00:00 2001 From: az Date: Thu, 15 Sep 2022 18:36:42 +0200 Subject: [PATCH] fix path of syspec resource files for ide and office verification --- .../provs/desktop/infrastructure/SyspecCheck.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/SyspecCheck.kt b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/SyspecCheck.kt index 527aef6..e284d2e 100644 --- a/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/SyspecCheck.kt +++ b/src/main/kotlin/org/domaindrivenarchitecture/provs/desktop/infrastructure/SyspecCheck.kt @@ -4,10 +4,12 @@ import org.domaindrivenarchitecture.provs.framework.core.Prov import org.domaindrivenarchitecture.provs.framework.core.ProvResult import org.domaindrivenarchitecture.provs.syspec.domain.verifySpecFromResource +private const val resourcePath = "org/domaindrivenarchitecture/provs/syspec/" + fun Prov.verifyIdeSetup(): ProvResult = task { - verifySpecFromResource("syspec-ide-config.yaml") + verifySpecFromResource("${resourcePath}syspec-ide-config.yaml") } fun Prov.verifyOfficeSetup(): ProvResult = task { - verifySpecFromResource("syspec-office-config.yaml") + verifySpecFromResource("${resourcePath}syspec-office-config.yaml") } \ No newline at end of file