Skip to content

Commit

Permalink
Use flatHome from airship instance
Browse files Browse the repository at this point in the history
  • Loading branch information
BSteffaniak committed Jul 13, 2022
1 parent 6d07be4 commit 99c8e7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/flatlang/airship/Airship.flat
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class {
}
}

getFlatHome() -> String {
public getFlatHome() -> String {
if (System.getEnv("FLAT_HOME")) {
return new File(System.getEnv("FLAT_HOME")).normalizedLocation
} else {
Expand Down
2 changes: 1 addition & 1 deletion src/test/flatlang/airship/Airship_Test.flat
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ testable class {

let output = allOutput[0]
let cmdOutput = output.splitOnTopLevel(' ')
let flatHome = new File(System.getEnv("FLAT_HOME")).normalizedLocation
let flatHome = airship.flatHome

let expected = [
"java", "\"-jar\"", "\"#{flatHome}/packages/Flat/target/flatc.jar\"",
Expand Down

0 comments on commit 99c8e7f

Please sign in to comment.