diff --git a/projects/core/src/main/resources/data/computercraft/lua/rom/apis/fs.lua b/projects/core/src/main/resources/data/computercraft/lua/rom/apis/fs.lua index 3b8326e6b..0c142f439 100644 --- a/projects/core/src/main/resources/data/computercraft/lua/rom/apis/fs.lua +++ b/projects/core/src/main/resources/data/computercraft/lua/rom/apis/fs.lua @@ -52,7 +52,7 @@ This table also accepts the following options: return fs.complete(str, "", { include_files = true, include_dirs = false, - included_hidden = false, + include_hidden = false, }) end) ]] diff --git a/projects/core/src/main/resources/data/computercraft/lua/rom/programs/shell.lua b/projects/core/src/main/resources/data/computercraft/lua/rom/programs/shell.lua index 9980b52e0..8318cfe00 100644 --- a/projects/core/src/main/resources/data/computercraft/lua/rom/programs/shell.lua +++ b/projects/core/src/main/resources/data/computercraft/lua/rom/programs/shell.lua @@ -33,6 +33,7 @@ which program to run: [hashbang]: https://en.wikipedia.org/wiki/Shebang_(Unix) @module[module] shell +@changed 1.103.0 Added support for hashbangs. ]] local make_package = dofile("rom/modules/main/cc/require.lua").make @@ -347,6 +348,7 @@ end -- @treturn string|nil The absolute path to the program, or @{nil} if it could -- not be found. -- @since 1.2 +-- @changed 1.80pr1 Now searches for files with and without the `.lua` extension. -- @usage Locate the `hello` program. -- -- shell.resolveProgram("hello")