Skip to content

Commit

Permalink
Add relative path from project to smart-data-models
Browse files Browse the repository at this point in the history
  • Loading branch information
computate committed Jan 21, 2024
1 parent f2883d0 commit 8a82eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/computate/frFR/java/EcrireGenClasse.java
Original file line number Diff line number Diff line change
Expand Up @@ -6357,7 +6357,7 @@ public void ecrireClasseCommentaire(JsonObject langueConfig, String siteNom, Str

try {
if(classeSmartDataModel != null && !classeFiware) {
File smartDataModelSpecFile = new File(System.getenv("HOME"), String.format(".local/src/smart-data-models/%s/dataModel.%s/%s/model.yaml", classeSmartDataDomain, classeSmartDataSubModule, classeSmartDataModel));
File smartDataModelSpecFile = new File(siteChemin, String.format("../smart-data-models/%s/dataModel.%s/%s/model.yaml", classeSmartDataDomain, classeSmartDataSubModule, classeSmartDataModel));
if(smartDataModelSpecFile.exists()) {
ToutEcrivain wSmartDataModel = ToutEcrivain.create();
Yaml yaml = new Yaml();
Expand Down

0 comments on commit 8a82eee

Please sign in to comment.