nanos-world / issues

Issue Tracker for nanos world
9 stars 1 forks source link

[File] `File.GetDirectories` & `File.GetFiles` don't work clientside to access package dir/files #1003

Closed NegativeNameNGT closed 3 months ago

NegativeNameNGT commented 5 months ago

Prerequisites

Your Environment

Description

File.GetDirectories and File.GetFiles always return an empty table.

Steps to reproduce the behavior

  1. Create a directory within your client package folder
  2. Add a bunch of files (lua or any type)
  3. Use File.GetDirectories with your Client root folder
  4. Use File.GetFiles with the created directory

Expected behavior

It should return the correct data

Actual behavior

It returns an empty table

gtnardy commented 3 months ago

Fixed for next update