Skip to content

Commit

Permalink
Make collectgarbage arguments optional (#287) (#300)
Browse files Browse the repository at this point in the history
* Make collectgarbage arguments optional

* Update changelog

* Fix change log

* Fix change log
  • Loading branch information
zhiburt authored Oct 2, 2021
1 parent 917e7aa commit a189bf3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
- Fixed display style option triggering `ArgumentConflict` when using quiet option. [(#288)](https://github.com/Kampfkarren/selene/issues/288)
- `bad_string_escape` now correctly handles escapes of the shape `\1a` (one or two numbers followed by a hex digit). (#292)[https://github.com/Kampfkarren/selene/issues/292]

### Changed
- Arguments of `collectgarbage` now considered to be optional. [(#287)](https://github.com/Kampfkarren/selene/issues/287)

## [0.14.0] - 2021-07-07
### Added
- Added `task` library to Roblox standard library.
Expand Down
1 change: 1 addition & 0 deletions selene-lib/default_std/lua51.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ type = [
"step",
"stop",
]
required = false

[[dofile.args]]
type = "string"
Expand Down
2 changes: 2 additions & 0 deletions selene-lib/tests/lints/standard_library/constants.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ collectgarbage("doge")
collectgarbage(1)

collectgarbage("coun" .. "t")

collectgarbage()

0 comments on commit a189bf3

Please sign in to comment.