Skip to content

Commit

Permalink
linter exec widows bugfix, fixes #50
Browse files Browse the repository at this point in the history
  • Loading branch information
Scony committed Feb 4, 2020
1 parent 6ebb3b5 commit 128b1c8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
# Changelog

## [master]
## [3.2.3] 2020-02-04

### Fixed
- Type inference in grammar
- Improved linter exec user experience
- Fixed linter hanging on config file not present

## [3.2.2] 2020-02-03

Expand Down
2 changes: 1 addition & 1 deletion gdtoolkit/linter/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def main(): # pylint: disable=too-many-branches
# TODO: extract the algorithm
search_dir = Path(os.getcwd())
found_config_file_path = None
while search_dir != Path("/"):
while search_dir != Path(os.path.abspath(os.sep)):
file_path = os.path.join(search_dir, CONFIG_FILE_NAME)
if os.path.isfile(file_path):
found_config_file_path = file_path
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="gdtoolkit",
version="3.2.2",
version="3.2.3",
description="Independent set of tools for working with GDScript - parser, linter and formatter",
keywords=["GODOT", "GDSCRIPT", "PARSER", "LINTER", "FORMATTER"],
url="https://github.com/Scony/godot-gdscript-toolkit",
Expand Down

0 comments on commit 128b1c8

Please sign in to comment.