fix header and line length lint errors
This commit is contained in:
parent
e05f6102c2
commit
fc443a8c2c
1 changed files with 3 additions and 3 deletions
|
@ -5,8 +5,8 @@
|
|||
#include "brightray/browser/browser_main_parts.h"
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <string>
|
||||
#include <sys/stat.h>
|
||||
#include <string>
|
||||
|
||||
#include "base/command_line.h"
|
||||
#include "base/feature_list.h"
|
||||
|
@ -107,8 +107,8 @@ void OverrideWinAppLogsPath() {
|
|||
|
||||
void OverrideLinuxAppLogsPath() {
|
||||
std::string appName = GetApplicationName();
|
||||
char* homePath = getenv("HOME");
|
||||
std::string appLogPath = std:string(homePath) + "/.config/" + appName + "/logs";
|
||||
std::string homePath = std:string(getenv("HOME"));
|
||||
std::string appLogPath = homePath + "/.config/" + appName + "/logs";
|
||||
|
||||
int status = mkdir(appLogPath.c_str(), S_IRWXU | S_IRGRP | S_IROTH);
|
||||
|
||||
|
|
Loading…
Reference in a new issue