]> gitweb.factorcode.org Git - factor.git/commitdiff
npm: fix word rename
authorDoug Coleman <doug.coleman@gmail.com>
Tue, 23 May 2023 01:38:18 +0000 (20:38 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Tue, 23 May 2023 01:38:18 +0000 (20:38 -0500)
extra/npm/npm.factor

index afe2985a6e89d6b570e6b19ba052436bfe6541f6..c40c62d7e325e1d361a9b4771c3073a4d41f2564 100644 (file)
@@ -39,7 +39,7 @@ M: f dev-deps drop { } ;
     [ npm-versions ] [ npm-versions sort-versions-asc ?last ] bi of ;
 
 : ?github-package-json ( owner repo -- json/f )
-    '[ _ _ "package.json" github-file json> ]
+    '[ _ _ "package.json" github-file-contents json> ]
     [ drop f ] recover ;
 
 : github-package-json-latest ( owner repo -- json/f )