Skip to content

Commit

Permalink
Avoid hard-coding language version
Browse files Browse the repository at this point in the history
  • Loading branch information
fniephaus committed Mar 20, 2024
1 parent c1cac02 commit 90fb15e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
testing
testInstallLanguage
| currentVersion |
Java primitiveIsHostLookupAllowed ifFalse: [ ^self ].
Polyglot installLanguage: 'js' version: '23.1.0' path: Smalltalk imagePath
currentVersion := (Polyglot languageInfoFor: Polyglot languageIdSmalltalk) version asString.
Polyglot installLanguage: 'js' version: currentVersion path: Smalltalk imagePath
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"class" : {
},
"instance" : {
"testInstallLanguage" : "fn 2/17/2024 16:36",
"testInstallLanguage" : "fn 3/20/2024 08:53",
"testLanguageInfo" : "fn 2/11/2021 10:54",
"testPolyglotBindings" : "fn 11/28/2019 14:53",
"testPolyglotEval" : "fn 6/27/2021 12:15" } }

0 comments on commit 90fb15e

Please sign in to comment.