@@ -49,7 +49,7 @@ void CortexUpdCmd::Exec(std::string v) {
4949
5050bool CortexUpdCmd::GetStable (const std::string& v) {
5151 auto system_info = system_info_utils::GetSystemInfo ();
52- CTL_INF (" OS: " << system_info. os << " , Arch: " << system_info. arch );
52+ CTL_INF (" OS: " << system_info-> os << " , Arch: " << system_info-> arch );
5353
5454 // Download file
5555 auto github_host = GetHostName ();
@@ -67,7 +67,7 @@ bool CortexUpdCmd::GetStable(const std::string& v) {
6767 }
6868
6969 if (!HandleGithubRelease (json_data[" assets" ],
70- {system_info. os + " -" + system_info. arch })) {
70+ {system_info-> os + " -" + system_info-> arch })) {
7171 return false ;
7272 }
7373 } catch (const nlohmann::json::parse_error& e) {
@@ -103,7 +103,7 @@ bool CortexUpdCmd::GetStable(const std::string& v) {
103103
104104bool CortexUpdCmd::GetBeta (const std::string& v) {
105105 auto system_info = system_info_utils::GetSystemInfo ();
106- CTL_INF (" OS: " << system_info. os << " , Arch: " << system_info. arch );
106+ CTL_INF (" OS: " << system_info-> os << " , Arch: " << system_info-> arch );
107107
108108 // Download file
109109 auto github_host = GetHostName ();
@@ -133,7 +133,7 @@ bool CortexUpdCmd::GetBeta(const std::string& v) {
133133 }
134134
135135 if (!HandleGithubRelease (json_data[" assets" ],
136- {system_info. os + " -" + system_info. arch })) {
136+ {system_info-> os + " -" + system_info-> arch })) {
137137 return false ;
138138 }
139139 } catch (const nlohmann::json::parse_error& e) {
@@ -234,11 +234,11 @@ bool CortexUpdCmd::HandleGithubRelease(const nlohmann::json& assets,
234234
235235bool CortexUpdCmd::GetNightly (const std::string& v) {
236236 auto system_info = system_info_utils::GetSystemInfo ();
237- CTL_INF (" OS: " << system_info. os << " , Arch: " << system_info. arch );
237+ CTL_INF (" OS: " << system_info-> os << " , Arch: " << system_info-> arch );
238238
239239 // Download file
240240 std::string version = v.empty () ? " latest" : std::move (v);
241- std::string os_arch{system_info. os + " -" + system_info. arch };
241+ std::string os_arch{system_info-> os + " -" + system_info-> arch };
242242 const char * paths[] = {
243243 " cortex" ,
244244 version.c_str (),
0 commit comments