Skip to content

Commit

Permalink
Fix bug in file-exists? implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
CuppoJava committed Jul 30, 2024
1 parent b93c6f6 commit 4b81026
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/params.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public defn compiler-flags () :
to-tuple(COMPILE-FLAGS)

;========= Stanza Configuration ========
public val STANZA-VERSION = [0 18 90]
public val STANZA-VERSION = [0 18 91]
public var STANZA-INSTALL-DIR:String = ""
public var OUTPUT-PLATFORM:Symbol = `platform
public var STANZA-PKG-DIRS:List<String> = List()
Expand Down
2 changes: 1 addition & 1 deletion core/core.stanza
Original file line number Diff line number Diff line change
Expand Up @@ -5955,7 +5955,7 @@ public defn file-exists? (filename:String) -> True|False :
try :
file-type(filename, false)
true
catch (e:FileTypeException) :
catch (e:FileTypeException|PathResolutionError) :
false

;---------------------------------------------------------
Expand Down

0 comments on commit 4b81026

Please sign in to comment.