mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Swift: move diagnostics definition to the source file
This commit is contained in:
@@ -5,7 +5,17 @@
|
||||
#include <spawn.h>
|
||||
#include "absl/strings/str_join.h"
|
||||
|
||||
#include "swift/xcode-autobuilder/XcodeBuildLogging.h"
|
||||
#include "swift/logging/SwiftLogging.h"
|
||||
|
||||
namespace codeql_diagnostics {
|
||||
constexpr codeql::SwiftDiagnosticsSource build_command_failed{
|
||||
"build_command_failed",
|
||||
"Detected build command failed",
|
||||
"Set up a manual build command",
|
||||
"https://docs.github.com/en/enterprise-server/code-security/code-scanning/"
|
||||
"automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning",
|
||||
};
|
||||
}
|
||||
|
||||
static codeql::Logger& logger() {
|
||||
static codeql::Logger ret{"build"};
|
||||
|
||||
Reference in New Issue
Block a user