5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-03 02:19:43 +08:00

more linting fixes

This commit is contained in:
Lea Anthony 2019-04-10 08:46:49 +10:00
parent eeb6fa4677
commit a2b7906c89
No known key found for this signature in database
GPG Key ID: 33DAF7BB90A58405
4 changed files with 29 additions and 28 deletions

File diff suppressed because one or more lines are too long

View File

@ -23,8 +23,8 @@ func init() {
var err error
system := cmd.NewSystemHelper()
err := system.Initialise()
if err = nil {
err = system.Initialise()
if err == nil {
return err
}

View File

@ -122,7 +122,7 @@ func (w *webViewRenderer) evalJSSync(js string) error {
go func() {
exit := false
// We are done when we recieve the Callback ID
// We are done when we receive the Callback ID
w.log.Debug("SyncJS: sending with ID = " + ID)
w.eventManager.On(ID, func(...interface{}) {
w.log.Debug("SyncJS: Got callback ID = " + ID)

File diff suppressed because one or more lines are too long