base: add s tring for unrecognized platofrm id
This commit is contained in:
parent
37b02e144d
commit
c47488479b
@ -15,7 +15,8 @@
|
||||
|
||||
const char* SUPPORTED_PLATFORM_NAMES[] = {
|
||||
"github.com",
|
||||
"gitlab.com"};
|
||||
"gitlab.com",
|
||||
"Unrecognized"};
|
||||
|
||||
static void throw_regex_error(int errcode, const regex_t* preg, const char* str) {
|
||||
char regex_error_buffer[REGEX_ERROR_STR_MAX_LEN] = {0};
|
||||
@ -160,4 +161,4 @@ PlatformIdList* identify_platfroms_from_project(const char* project_path, const
|
||||
lines_free(git_remote_urls);
|
||||
buffer_free(git_config_path_buffer);
|
||||
return platforms;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user