From 19c55415e79911c826f032d4e024011de1fe8d4d Mon Sep 17 00:00:00 2001 From: AlexisCnockaert Date: Mon, 25 Nov 2024 14:55:08 +0100 Subject: [PATCH 1/2] changed title desc for assertion failure --- Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st b/Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st index d9382932e6..11ebe74bd5 100644 --- a/Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st +++ b/Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st @@ -86,11 +86,9 @@ IceTipLocalRepositoryPanel >> validate [ self assert: self location isNotNil - description: 'Project location must exist!'. + description: 'Please provide a project location!'. self assert: self location exists description: 'Project location must exist!'. - self - assert: (IceRepositoryCreator isGitRoot: self location) - description: 'Project location does not seems to be a valid git repository.' + ] From 3dec68d553b910766b8d7beba27bd5d17ddd650d Mon Sep 17 00:00:00 2001 From: AlexisCnockaert Date: Tue, 26 Nov 2024 09:59:30 +0100 Subject: [PATCH 2/2] fixed assertion removal --- Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st b/Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st index 11ebe74bd5..43db9c8bdf 100644 --- a/Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st +++ b/Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st @@ -90,5 +90,8 @@ IceTipLocalRepositoryPanel >> validate [ self assert: self location exists description: 'Project location must exist!'. + self + assert: (IceRepositoryCreator isGitRoot: self location) + description: 'Project location does not seems to be a valid git repository' ]