Skip to content

Commit

Permalink
added check for directory existence to GtIceRepositoryCreator>>#addLo…
Browse files Browse the repository at this point in the history
…calRepository
  • Loading branch information
svenvc committed May 17, 2024
1 parent 3e022b6 commit 8399ff8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/GToolkit4Git/GtIceRepositoryCreator.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ GtIceRepositoryCreator class >> on: aFileReference [

{ #category : #accessing }
GtIceRepositoryCreator >> addLocalRepository [
self locationToUse exists
ifFalse: [ DirectoryDoesNotExist signalWith: self locationToUse fullPath ].
repository := IceGitCliRepository on: self locationToUse.

branchName ifNotNil: [ repository switchToCommitishNamed: branchName ].
Expand Down

0 comments on commit 8399ff8

Please sign in to comment.