Skip to content

Commit

Permalink
add return if noop to postfile method
Browse files Browse the repository at this point in the history
  • Loading branch information
bcicen committed Jan 11, 2016
1 parent 82a8696 commit 58653aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions slackcat.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ func (sc *SlackCat) postFile(filePath, fileName string, noop bool) {

if noop {
output(fmt.Sprintf("skipping upload of file %s to %s", fileName, sc.channelName))
return
}

start := time.Now()
Expand Down

0 comments on commit 58653aa

Please sign in to comment.