Skip to content

Close Folder command does nothing in Sublime 3.2.1 #2

@nathanpbell

Description

@nathanpbell

On OSX 10.14.6 (18G87)
Sublime 3.2.1 Build 3207

Activating Close Folder via any method (right click in file, right click on folder in project file list, or use command pallet) results in a failure. No tabs get closed. Console error:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 1088, in run_
    return self.run(edit)
  File "/Users/admin/Library/Application Support/Sublime Text 3/Packages/CloseFolder/CloseFolder.py", line 15, in run
    if os.path.dirname(vw.file_name()).find(dirname) == 0:
  File "./python3.3/posixpath.py", line 151, in dirname
AttributeError: 'NoneType' object has no attribute 'rfind'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions