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:
parent
eeb6fa4677
commit
a2b7906c89
File diff suppressed because one or more lines are too long
@ -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
|
||||
}
|
||||
|
||||
|
@ -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
Loading…
Reference in New Issue
Block a user