Skip to content

Commit 49b06ed

Browse files
committed
move text to constants.go
1 parent 23e7c0c commit 49b06ed

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Diff for: legacy/builder/constants/constants.go

-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ const LOG_LEVEL_DEBUG = "debug"
8080
const LOG_LEVEL_ERROR = "error"
8181
const LOG_LEVEL_INFO = "info"
8282
const LOG_LEVEL_WARN = "warn"
83-
8483
const PACKAGE_NAME = "name"
8584
const PACKAGE_TOOLS = "tools"
8685
const PLATFORM_ARCHITECTURE = "architecture"

Diff for: legacy/builder/phases/libraries_builder.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func (s *LibrariesBuilder) Run(ctx *types.Context) error {
4545
}
4646

4747
if len(ctx.Arduifines) > 0 {
48-
ctx.GetLogger().Fprintln(os.Stdout, constants.LOG_LEVEL_DEBUG, "Additional compiler options provided by User sketch: "+ctx.Arduifines)
48+
ctx.GetLogger().Println(constants.LOG_LEVEL_DEBUG, constants.MSG_ADDITIONAL_OPTIONS, ctx.Arduifines)
4949
}
5050

5151
objectFiles, err := compileLibraries(ctx, libs, librariesBuildPath, buildProperties, includes)

0 commit comments

Comments
 (0)