Skip to content

Commit

Permalink
Disable Code coverage funcationality for updating
Browse files Browse the repository at this point in the history
  • Loading branch information
lushang committed Mar 26, 2020
1 parent 59546e9 commit 92620e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -740,7 +740,8 @@ def is_enabled(self):
return True

def is_visible(self):
return self.is_enabled()
# return self.is_enabled()
return False


class ViewSelectedCodeCoverageCommand(sublime_plugin.TextCommand):
Expand Down
4 changes: 2 additions & 2 deletions util.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,8 @@ def view_coverage(name, file_name, body):
numLocationsNotCovered = coverage["numLocationsNotCovered"]
numLocations = coverage["numLocations"]
numLocationsCovered = numLocations - numLocationsNotCovered
linesNotCovered = [l["line"] for l in coverage["locationsNotCovered"]]
linesNotCovered = []
# linesNotCovered = [l["line"] for l in coverage["locationsNotCovered"]]
if numLocations == 0:
return Printer.get("error").write("There is no code coverage")

Expand Down Expand Up @@ -3402,7 +3403,6 @@ def export_profile_settings():

Printer.get("log").write_start().write("Start to read all file name in profile folder")
profiles = get_metadata_elements(profile_dir, 'profile')
print('profiles:', profiles)

profile_settings = {}
sobject_names = []
Expand Down

0 comments on commit 92620e3

Please sign in to comment.