File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed
Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ public void CopyToTargetDirectory_PassingDirsWithFiles_ReturnSuccess()
7474 {
7575 //Arrange
7676 string sourcePath = $ "{ Path . GetTempPath ( ) } \\ SampleFolder";
77- System . IO . Directory . CreateDirectory ( sourcePath ) ;
78- System . IO . Directory . CreateDirectory ( sourcePath + "\\ SampleSubFolder" ) ;
77+ Directory . CreateDirectory ( sourcePath ) ;
78+ Directory . CreateDirectory ( sourcePath + "\\ SampleSubFolder" ) ;
7979 File . WriteAllText ( sourcePath + "\\ Sample.txt" , "" ) ;
8080 string targetPath = $ "{ Path . GetTempPath ( ) } /targetPath/";
8181 var folderAction = new FolderAction ( ) ;
Original file line number Diff line number Diff line change @@ -229,15 +229,10 @@ public string InputFolder
229229 set
230230 {
231231 if ( ! AppDomain . CurrentDomain . FriendlyName . Contains ( "SW360PackageCreator" ) &&
232- ! AppDomain . CurrentDomain . FriendlyName . Contains ( "ArtifactoryUploader" ) )
232+ ! AppDomain . CurrentDomain . FriendlyName . Contains ( "ArtifactoryUploader" ) )
233233 {
234234 folderAction . ValidateFolderPath ( value ) ;
235235 m_InputFolder = value ;
236- } else if ( AppDomain . CurrentDomain . FriendlyName . Contains ( "SW360PackageCreator" ) ||
237- AppDomain . CurrentDomain . FriendlyName . Contains ( "ArtifactoryUploader" ) )
238- {
239- _fileOperations . ValidateFilePath ( value ) ;
240- m_InputFolder = value ;
241236 }
242237 }
243238 }
You can’t perform that action at this time.
0 commit comments