Skip to content

Commit 8eb44fb

Browse files
committed
Removed constant
1 parent 67445ec commit 8eb44fb

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

legacy/builder/constants/constants.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ const MSG_USING_LIBRARY = "Using library {0} in folder: {1} {2}"
125125
const MSG_USING_BOARD = "Using board '{0}' from platform in folder: {1}"
126126
const MSG_USING_CORE = "Using core '{0}' from platform in folder: {1}"
127127
const MSG_USING_PREVIOUS_COMPILED_FILE = "Using previously compiled file: {0}"
128-
const MSG_USING_CACHED_INCLUDES = "Using cached library dependencies for file: {0}"
129128
const MSG_WARNING_LIB_INVALID_CATEGORY = "WARNING: Category '{0}' in library {1} is not valid. Setting to '{2}'"
130129
const MSG_WARNING_PLATFORM_OLD_VALUES = "Warning: platform.txt from core '{0}' contains deprecated {1}, automatically converted to {2}. Consider upgrading this core."
131130
const MSG_WARNING_SPURIOUS_FILE_IN_LIB = "WARNING: Spurious {0} folder in '{1}' library"

legacy/builder/container_find_includes.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ func (f *CppIncludesFinder) findIncludesUntilDone(sourceFile *SourceFile) error
341341
if unchanged && f.cache.valid {
342342
include = f.cache.Next().Include
343343
if first && f.ctx.Verbose {
344-
f.ctx.GetLogger().Println(constants.LOG_LEVEL_INFO, constants.MSG_USING_CACHED_INCLUDES, sourcePath)
344+
f.ctx.GetLogger().Println("info", "Using cached library dependencies for file: {0}", sourcePath)
345345
}
346346
} else {
347347
preprocStderr, preprocErr = GCCPreprocRunnerForDiscoveringIncludes(f.ctx, sourcePath, targetFilePath, f.ctx.IncludeFolders)

0 commit comments

Comments
 (0)