Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug(#3663): fix warnings for failOnWarning turn ON #3754

Merged
merged 8 commits into from
Dec 25, 2024
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions eo-runtime/src/main/eo/org/eolang/fs/file.eo
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
+rt node eo2js-runtime:0.0.0
+version 0.0.0

# A file on the filesystem.
# The file object in the filesystem.
[path] > file
$.path > @

Expand Down Expand Up @@ -67,13 +67,13 @@
^
^

# Deletes the file and and returns `true`.
# Deletes the file and returns `true`.
#
# Attention! The object is for internal usage only, please
# don't use the object programmatically outside of `file` object.
[] > delete /org.eolang.true

# Get file size in bytes.
# Gets the file size and returns it in bytes.
[] > size /org.eolang.number

# Move current file to `target`, making and returning a new `file` from it.
Expand All @@ -89,7 +89,7 @@
# don't use the object programmatically outside of `file` object.
[] > move /org.eolang.string

# Convert the `file` to `path`.
# Convert the `file` to the `path`.
(QQ.fs.path ^.path).determined > [] > as-path

# Opens the file.
Expand Down