Skip to content

Commit

Permalink
Merge pull request #232 from brotherlogic/blah
Browse files Browse the repository at this point in the history
blah
  • Loading branch information
brotherlogic committed Apr 2, 2020
2 parents 66036a9 + ee3de02 commit 2ed68e9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions recordprinterutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ func (s *Server) move(ctx context.Context, move *pbrm.RecordMove) error {

// Short circuit if this is a within folder move
if move.GetBeforeContext().GetLocation() == move.GetAfterContext().GetLocation() {
if move.GetToFolder() != move.GetFromFolder() {
s.RaiseIssue(ctx, "Weird Move", fmt.Sprintf("%v is a weird move", move), false)
if move.GetToFolder() == move.GetFromFolder() {
return nil
}
return nil
s.RaiseIssue(ctx, "Weird Move", fmt.Sprintf("%v is a weird move", move), false)
}

record, err := s.bridge.getRecord(ctx, move.InstanceId)
Expand Down

0 comments on commit 2ed68e9

Please sign in to comment.