Skip to content

Commit

Permalink
use fileInfo to get mode
Browse files Browse the repository at this point in the history
  • Loading branch information
zspitzer committed Jan 21, 2025
1 parent de7785c commit fb7a744
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/tickets/LDEV2410.cfc
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ component extends="org.lucee.cfml.test.LuceeTestCase"{
if (isWindows()) return;

var info = getFileInfo( testfile );
var mode = info.mode;
var mode = FileInfo( testfile ).mode;
expect( info.canWrite ).toBe( true );
FileWrite( testfile, "I am in normal (writable) file" );

Expand Down

0 comments on commit fb7a744

Please sign in to comment.