File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -1648,21 +1648,10 @@ private void buttonCreateBackupScript_Click(object sender, EventArgs e)
16481648 //TODO
16491649 // algo : chercher tous les solutions VS gitted and create a bat script to git clone them
16501650 // ideally for every Visual Studio */projects directory get gitted VS solutions
1651- if ( listViewVSProjects . Items . Count == 0 )
1652- {
1653- DisplayMessageOk ( Translate ( "The list doesn't have any Visual Studio project to update" ) +
1654- Punctuation . Period + Punctuation . CrLf + Translate ( "Enter a correct path and search project again" ) ,
1655- Translate ( "List empty" ) , MessageBoxButtons . OK ) ;
1656- Logger . Add ( textBoxLog , Translate ( "The list doesn't have any Visual Studio project to update" ) ) ;
1657- return ;
1658- }
16591651
1652+ Logger . Add ( textBoxLog , Translate ( "Creating the GitCloneBackup.bat script" ) ) ;
16601653 Logger . Add ( textBoxLog , Translate ( "Listing Visual Studio solutions with Git" ) ) ;
1661- if ( checkBoxOnlyGenerateScriptFile . Checked )
1662- {
1663- Logger . Add ( textBoxLog , Translate ( "Creating the GitCloneBackup.bat script" ) ) ;
1664- }
1665-
1654+
16661655 string backupScript = Path . Combine ( textBoxVSProjectPath . Text , "GitCloneBackup.bat" ) ;
16671656 backupScript = GenerateUniqueFileName ( backupScript ) ;
16681657 CreateNewFile ( backupScript ) ;
You can’t perform that action at this time.
0 commit comments