]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/editors/visual-studio-code/visual-studio-code.factor
io.files: exists? -> file-exists? and rename primitive.
[factor.git] / basis / editors / visual-studio-code / visual-studio-code.factor
index 45c819c2e89961ffe6a796854ce04b76715cade8..ebf633559c8a010ac896adbeb6190946fe2514a8 100644 (file)
@@ -21,7 +21,7 @@ M: visual-studio-code find-visual-studio-code-path
                 [ "Code" which ]
                 [ home "VSCode-linux-x64/Code" append-path ]
                 [ "/usr/share/code/code" ]
-            } [ dup exists? [ drop f ] unless ] map-compose 0|| ] }
+            } [ dup file-exists? [ drop f ] unless ] map-compose 0|| ] }
         { macosx [
             "com.microsoft.VSCode" find-native-bundle
             [ "Contents/MacOS/Electron" append-path ] [ f ] if* ] }