Skip to content

Commit

Permalink
chore: change the loader path to the data path
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Oct 14, 2024
1 parent a80768e commit e20eb07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/native/loader.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const libName = "kclvm_cli_cdylib"
func libPath() (path string, err error) {
libHome := os.Getenv("KCL_LIB_HOME")
if libHome == "" {
return lazypath., nil
return lazypath.DataHome(), nil
}
return libHome, nil
}
Expand Down

0 comments on commit e20eb07

Please sign in to comment.