Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions format.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import re
import os
import tempfile
import pathlib
import platform

SETTINGS_PATH = 'Default.sublime-settings'
Expand Down Expand Up @@ -187,7 +186,7 @@ def run(self, edit, formatBuffer=True):
if bscExe == None:
return

extension = pathlib.Path(filename).suffix
_, extension = os.path.splitext(filename)
formattedResult = formatUsingValidBscPath(
code,
bscExe,
Expand Down