Skip to content

Commit

Permalink
Merge pull request #233 from superfly/deepsource-perf-report
Browse files Browse the repository at this point in the history
code tidy ups
  • Loading branch information
codepope committed Jul 13, 2020
2 parents fbc9d40 + f147f23 commit 62ed4d9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func runListApps(commandContext *cmdctx.CmdContext) error {

filteredApps = make([]appCondensed, 0)

for i, _ := range apps {
for i := range apps {
saved := false

if appPart != "" {
Expand Down
2 changes: 1 addition & 1 deletion cmdctx/cmdcontext.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ func (commandContext *CmdContext) render(out io.Writer, views ...PresenterOption
func (commandContext *CmdContext) Frender(views ...PresenterOption) error {
// If JSON output wanted, set in all views
if commandContext.OutputJSON() {
for i, _ := range views {
for i := range views {
views[i].AsJSON = true
}
}
Expand Down

0 comments on commit 62ed4d9

Please sign in to comment.