mirror of
https://github.com/janet-lang/janet
synced 2025-11-06 02:23:03 +00:00
Strip trailing whitespace from many files.
Add native modules to import with module.native-path.
This commit is contained in:
@@ -228,7 +228,7 @@ static int dst_io_fread(DstArgs args) {
|
||||
DST_RETURN(args, dst_wrap_buffer(b));
|
||||
} else {
|
||||
DST_THROW(args, "expected one of :all, :line");
|
||||
}
|
||||
}
|
||||
} else if (!dst_checktype(args.v[1], DST_INTEGER)) {
|
||||
DST_THROW(args, "expected positive integer");
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user