Skip to content

Commit 4f66b01

Browse files
committed
fix spelling
1 parent a27e98b commit 4f66b01

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/actions/spelling/expect.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,3 +104,8 @@ Português (Brasil)
104104
Italiano
105105
Slovenský
106106
Droplex
107+
Preinstalled
108+
errormetadatafile
109+
noresult
110+
pluginsmanager
111+
alreadyexists

Plugins/Flow.Launcher.Plugin.PluginsManager/PluginsManager.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -332,9 +332,9 @@ private bool InstallSourceKnown(string url)
332332
{
333333
var author = url.Split('/')[3];
334334
var acceptedSource = "https://github.com";
335-
var contructedUrlPart = string.Format("{0}/{1}/", acceptedSource, author);
335+
var constructedUrlPart = string.Format("{0}/{1}/", acceptedSource, author);
336336

337-
return url.StartsWith(acceptedSource) && Context.API.GetAllPlugins().Any(x => x.Metadata.Website.StartsWith(contructedUrlPart));
337+
return url.StartsWith(acceptedSource) && Context.API.GetAllPlugins().Any(x => x.Metadata.Website.StartsWith(constructedUrlPart));
338338
}
339339

340340
internal async ValueTask<List<Result>> RequestInstallOrUpdate(string search, CancellationToken token, bool usePrimaryUrlOnly = false)

0 commit comments

Comments
 (0)