From cc865a6b29c2c62bed7447592e65083fdd547dd9 Mon Sep 17 00:00:00 2001 From: Offray Luna Date: Wed, 31 Jul 2024 15:04:29 -0500 Subject: [PATCH] Minor fixes before testing --- repository/TiddlyWiki/TiddlyWiki.class.st | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/repository/TiddlyWiki/TiddlyWiki.class.st b/repository/TiddlyWiki/TiddlyWiki.class.st index 23608a7..9a359f3 100644 --- a/repository/TiddlyWiki/TiddlyWiki.class.st +++ b/repository/TiddlyWiki/TiddlyWiki.class.st @@ -230,14 +230,14 @@ TiddlyWiki >> downloadHTML [ { #category : #accessing } TiddlyWiki >> downloadLink: v into: subfolder [ - | filePath fileName semiFilePath | + | filePath fileName | fileName := v asUrl segments last. filePath := subfolder / fileName. GtSubprocessWithInMemoryOutput new - shellCommand: 'curl -L -# ' , v , ' -o ' , filePath; + shellCommand: 'curl -L -# ' , v asString, ' -o ' , filePath fullName; runAndWait; stdout. - ^ semiFilePath + ^ filePath ] { #category : #accessing } @@ -568,6 +568,7 @@ TiddlyWiki >> isInTiddlyHost [ { #category : #accessing } TiddlyWiki >> jsonCache [ self downloadLink: self tiddlersJSONUrl into: self folder. + ^ (self folder / 'tiddlers.json') contents ] { #category : #accessing }