You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2023/06/20 06:03:18 UTC

[plc4x] 01/04: fix(plc4go/tools): licenser should now output the right file name

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git

commit 16e91ad87fe7c05eecd98039398d68a5a637ada4
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Mon Jun 19 19:30:23 2023 +0200

    fix(plc4go/tools): licenser should now output the right file name
---
 plc4go/tools/plc4xlicenser/gen.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plc4go/tools/plc4xlicenser/gen.go b/plc4go/tools/plc4xlicenser/gen.go
index 9517c55bce..4aa44c68a1 100644
--- a/plc4go/tools/plc4xlicenser/gen.go
+++ b/plc4go/tools/plc4xlicenser/gen.go
@@ -118,7 +118,7 @@ func main() {
 	if err := os.WriteFile(outputName, append(licenceContent, inputFile...), 0644); err != nil {
 		log.Fatalf("writing output: %s", err)
 	}
-	fmt.Printf("Fixed plc4x license of %s\n", licenseFileNameWithPath)
+	fmt.Printf("Fixed plc4x license of %s\n", outputName)
 }
 
 // isDirectory reports whether the named file is a directory.