Skip to content

Commit

Permalink
Fix for issue #185 and #187 (#188)
Browse files Browse the repository at this point in the history
* Fix issue #185 and #187 that no templates where display despite "dotnet
new --list" showing some.

* Fix build

* Update pomless to tycho-build 3.0.0

* Silense download details.

* Update to new dockerfile

Latest fedora, java, docker, etc.

* Update to latest jacoco-maven-plugin

* Enable dependabot

* Move to Java 17

And remove java nature, classpath, etc. where not needed instead of
keeping it at 1.8.

* Update Maven build plugins

* Ignore msbuildserver out/ to get clean build

* Remove omnysharp linux.x86

* Use static swtbot methods statically

* Use pattern matching

* Remove useless code

* Remove useless code

* Make constants truly such

* Inline members to local variables

* Fix issue #185 and #187 that no templates where display despite "dotnet
new --list" showing some.

Co-authored-by: Александър Куртаков <akurtakov@gmail.com>
  • Loading branch information
scheind and akurtakov committed Nov 25, 2022
1 parent 30f2670 commit 401753d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,13 @@ public static List<Template> getTemplates() {
boolean templateListExists = false;

while ((inputLine = in.readLine()) != null) {
if (inputLine.matches("^-{30,}$")) { //$NON-NLS-1$
if (inputLine.matches("-{30,}$")) { //$NON-NLS-1$
templateListExists = true;
break;
}
if(DotnetVersionUtil.getMajorVersionNumber(DotnetVersionUtil.getVersion(AcutePlugin.getDotnetCommand())) >= 5)
{
if(inputLine.matches("^-------------------------------------------- ------------------- ---------- ----------------------$")) { //$NON-NLS-1$
if(inputLine.matches("--------------------------------- -------------------- ---------- ------------------------------------------------------------------------------------------$")) { //$NON-NLS-1$
templateListExists = true;
break;
}
Expand Down

0 comments on commit 401753d

Please sign in to comment.