From 7308946d9d0b26568c90b70d19ae71b4436d6c28 Mon Sep 17 00:00:00 2001 From: DEMAREY Christophe Date: Fri, 12 Jan 2024 16:05:23 +0100 Subject: [PATCH] fix template listing in CLI mode --- src/PharoLauncher-CLI/PhLAbstractTemplate.extension.st | 2 +- .../PhLTemplateTestRepository.class.st | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PharoLauncher-CLI/PhLAbstractTemplate.extension.st b/src/PharoLauncher-CLI/PhLAbstractTemplate.extension.st index ba807e22..2972c1e5 100644 --- a/src/PharoLauncher-CLI/PhLAbstractTemplate.extension.st +++ b/src/PharoLauncher-CLI/PhLAbstractTemplate.extension.st @@ -4,7 +4,7 @@ Extension { #name : #PhLAbstractTemplate } PhLAbstractTemplate class >> listPrintAttributeBlocks [ ^ {[:template | template name]. - [:template | template url]} + [:template | template url asString]} ] { #category : #'*PharoLauncher-CLI' } diff --git a/src/PharoLauncher-Tests-Commands/PhLTemplateTestRepository.class.st b/src/PharoLauncher-Tests-Commands/PhLTemplateTestRepository.class.st index 3abee982..acf5380c 100644 --- a/src/PharoLauncher-Tests-Commands/PhLTemplateTestRepository.class.st +++ b/src/PharoLauncher-Tests-Commands/PhLTemplateTestRepository.class.st @@ -38,7 +38,7 @@ PhLTemplateTestRepository >> createTemplateInDefaultGroupNamed: aName [ { #category : #instance } PhLTemplateTestRepository >> createTemplateNamed: aName inCategory: aCategoryName [ (self categoryNamed: aCategoryName) templatesAndGroups - add: (PhLRemoteTemplate name: aName url: 'http://', aName, '.foo'). + add: (PhLRemoteTemplate name: aName url: ('http://', aName, '.foo') asZnUrl). ] { #category : #initialization }