Skip to content

Commit 7aff94e

Browse files
HongKuangqianlifeng
authored andcommitted
chore: fix some typos
Signed-off-by: hongkuang <[email protected]>
1 parent 55ac16a commit 7aff94e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CI/plugin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func checkPluginNewVersion() error {
7878
plugins[index].Version = currentVersion.String()
7979
plugins[index].DateUpdated = time.Now().Format("2006-01-02 15:04:05")
8080
hasUpdate = true
81-
fmt.Println(fmt.Sprintf("[%s] Exist version: %s, New version: %s, udpate found", plugin.Name, existVersion, currentVersion))
81+
fmt.Println(fmt.Sprintf("[%s] Exist version: %s, New version: %s, update found", plugin.Name, existVersion, currentVersion))
8282
} else {
8383
fmt.Println(fmt.Sprintf("[%s] Exist version: %s, New version: %s", plugin.Name, existVersion, currentVersion))
8484
}

Wox/plugin/system/app/app.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ func (a *ApplicationPlugin) Query(ctx context.Context, query plugin.Query) []plu
128128
Action: func(ctx context.Context, actionContext plugin.ActionContext) {
129129
runErr := util.ShellOpen(info.Path)
130130
if runErr != nil {
131-
a.api.Log(ctx, plugin.LogLevelError, fmt.Sprintf("error openning app %s: %s", info.Path, runErr.Error()))
131+
a.api.Log(ctx, plugin.LogLevelError, fmt.Sprintf("error opening app %s: %s", info.Path, runErr.Error()))
132132
}
133133
},
134134
},
@@ -138,7 +138,7 @@ func (a *ApplicationPlugin) Query(ctx context.Context, query plugin.Query) []plu
138138
Action: func(ctx context.Context, actionContext plugin.ActionContext) {
139139
runErr := util.ShellOpen(path.Dir(info.Path))
140140
if runErr != nil {
141-
a.api.Log(ctx, plugin.LogLevelError, fmt.Sprintf("error openning app %s: %s", info.Path, runErr.Error()))
141+
a.api.Log(ctx, plugin.LogLevelError, fmt.Sprintf("error opening app %s: %s", info.Path, runErr.Error()))
142142
}
143143
},
144144
},

Wox/plugin/system/app/app_darwin.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ func (a *MacRetriever) parseMacAppIconFromInfoPlist(ctx context.Context, appPath
230230
}
231231
}
232232

233-
return "", fmt.Errorf("info plist doesnt have CFBundleIconFile property")
233+
return "", fmt.Errorf("info plist doesn't have CFBundleIconFile property")
234234
}
235235

236236
func (a *MacRetriever) parseMacAppIconFromCgo(ctx context.Context, appPath string) (string, error) {

0 commit comments

Comments
 (0)