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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fileCreate give warning when create folder without any file #761

Closed
FileEX opened this issue Jan 6, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@FileEX
Copy link
Contributor

commented Jan 6, 2019

Describe the bug
When use fileCreate to created folder without files, it will give warning 'File error @new [Unable to create 'folder name']' and create folder. If this create folder so why give warning 馃

And fileExists('foldername/') always returns false

To reproduce

addEventHandler('onClientResourceStart', resourceRoot, function()
	if not File.exists('skins/') then
		File.new('skins/');
	end
end);

Expected behaviour
Not warning

Screenshots

Version
1.5.6

Additional context

@botder botder added the bug label Jan 6, 2019

@botder botder closed this in 13771a4 Jan 6, 2019

@botder botder added this to the 1.5.7 milestone Jan 6, 2019

@patrikjuvonen patrikjuvonen changed the title fileCreate give warning when create folder without any file. fileCreate give warning when create folder without any file Jan 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can鈥檛 perform that action at this time.