Skip to content

Commit

Permalink
testing ineffassig correction
Browse files Browse the repository at this point in the history
  • Loading branch information
Felipe da Veiga Leprevost committed May 15, 2020
1 parent 9b84b8e commit 2c6a7b4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/ext/peptideprophet/win/win.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ import (
// WinInteractParser deploys InteractParser.exe
func WinInteractParser(s string) {

bin, e := Asset("InteractParser.exe")
if e != nil {
bin, e1 := Asset("InteractParser.exe")
if e1 != nil {
msg.DeployAsset(errors.New("InteractParser"), "Cannot read bin InteractParser")
}

e = ioutil.WriteFile(s, bin, sys.FilePermission())
if e != nil {
e2 := ioutil.WriteFile(s, bin, sys.FilePermission())
if e2 != nil {
msg.DeployAsset(errors.New("InteractParser"), "Cannot deploy InteractParser")
}

Expand Down

0 comments on commit 2c6a7b4

Please sign in to comment.