Skip to content

Commit 128b1c8

Browse files
committed
linter exec widows bugfix, fixes #50
1 parent 6ebb3b5 commit 128b1c8

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Changelog
22

3-
## [master]
3+
## [3.2.3] 2020-02-04
44

55
### Fixed
66
- Type inference in grammar
77
- Improved linter exec user experience
8+
- Fixed linter hanging on config file not present
89

910
## [3.2.2] 2020-02-03
1011

gdtoolkit/linter/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def main(): # pylint: disable=too-many-branches
5151
# TODO: extract the algorithm
5252
search_dir = Path(os.getcwd())
5353
found_config_file_path = None
54-
while search_dir != Path("/"):
54+
while search_dir != Path(os.path.abspath(os.sep)):
5555
file_path = os.path.join(search_dir, CONFIG_FILE_NAME)
5656
if os.path.isfile(file_path):
5757
found_config_file_path = file_path

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

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

0 commit comments

Comments
 (0)