Skip to content

Commit a0c53f6

Browse files
committed
Updated Skyrim linter
1 parent 482c965 commit a0c53f6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Source/Modules/Skyrim/Linter.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1686,12 +1686,12 @@ def GetCachedScript(self, name, line = None):
16861686
return None
16871687

16881688
def Process(self, statements, paths): # Return True if successful, False if failed
1689+
# Reset properties
1690+
self.statements = None
16891691
if not statements:
16901692
self.Abort("No statements were given to process.")
16911693
if not paths:
1692-
self.Abort("No paths were given to process.")
1693-
# Reset properties
1694-
self.statements = None
1694+
self.Abort("No import paths were given to process. Check the user settings.")
16951695
self.paths = paths
16961696
self.cancel = None # This is != None only when called by the code completion system
16971697
self.variables = [{}]

0 commit comments

Comments
 (0)