Skip to content
This repository has been archived by the owner on Mar 14, 2019. It is now read-only.

Commit

Permalink
Remove unused compare-versions module (#5)
Browse files Browse the repository at this point in the history
This module was causing builds of tob-web to fail, but it looks like the
code that used this module was comment out.  I've removed this module,
fixing the builds.

Fixes #5
  • Loading branch information
Dale Avery committed Jun 15, 2018
1 parent e8a174e commit 4c09301
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
# IntelliJ
.idea

*.pem
1 change: 0 additions & 1 deletion TheOrgBook/tob-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
"@ngx-translate/core": "~8.0.0",
"@ngx-translate/http-loader": "0.1.0",
"bootstrap-sass": "~3.3.7",
"compare-versions": "^3.1.0",
"core-js": "^2.4.1",
"font-awesome": "^4.7.0",
"localize-router": "git+https://github.com/cywolf/localize-router.git",
Expand Down
2 changes: 0 additions & 2 deletions TheOrgBook/tob-web/src/app/roadmap/roadmap.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { TranslateService } from '@ngx-translate/core';
import { GeneralDataService } from 'app/general-data.service';
import { Location, LocationType, VerifiableOrg, VerifiableOrgType, IssuerService, VerifiableClaim, VerifiableClaimType, DoingBusinessAs,
blankLocation, blankOrgType, blankLocationType, blankIssuerService, blankClaimType } from '../data-types';
import * as compareVersions from 'compare-versions';

@Component({
selector: 'app-roadmap',
Expand Down Expand Up @@ -67,7 +66,6 @@ export class RoadmapComponent implements OnInit {
let sname = regType.schemaName;
let other = typesBySchema[sname];

// if(other && compareVersions(regType.schemaVersion, other.schemaVersion) <= 0)
if(other && other.id < regType.id)
continue;

Expand Down

0 comments on commit 4c09301

Please sign in to comment.