Skip to content

Commit 393db0f

Browse files
Fixing writing default profiles only when it exists
1 parent 4654120 commit 393db0f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Src/runcpp2/ConfigParsing.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ bool runcpp2::ReadUserConfig( std::vector<Data::CompilerProfile>& outProfiles,
114114
};
115115
int foundConfigFilePathIndex = -1;
116116

117-
bool writeDefaultProfiles = false;
117+
bool writeDefaultProfiles = true;
118118

119119
//config directory is created by get_user_config_folder if it doesn't exist
120120
{
@@ -128,8 +128,6 @@ bool runcpp2::ReadUserConfig( std::vector<Data::CompilerProfile>& outProfiles,
128128
break;
129129
}
130130
}
131-
132-
writeDefaultProfiles = true;
133131
}
134132

135133
//Create default compiler profiles

0 commit comments

Comments
 (0)