hxnodejs allow getContent
Some checks failed
/ test (push) Failing after 47s

This commit is contained in:
2025-10-29 15:02:14 -05:00
parent 4411015597
commit a7bd12074c

View File

@@ -88,7 +88,7 @@ class HankBuffer {
public static function FromFile(path:String, ?files:PreloadedFiles) { public static function FromFile(path:String, ?files:PreloadedFiles) {
// Keep a raw buffer of the file for tracking accurate file positions // Keep a raw buffer of the file for tracking accurate file positions
#if sys #if (sys || hxnodejs)
var rawBuffer = sys.io.File.getContent(path); var rawBuffer = sys.io.File.getContent(path);
#else #else
if (files == null) { if (files == null) {