Skip to content

Commit

Permalink
Corrected travis.yml to enable lint type checking
Browse files Browse the repository at this point in the history
Also corrected two files failling linting.
  • Loading branch information
DouglasWebster committed Jun 11, 2017
1 parent 6ee9754 commit 4da4d8c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,7 @@ branches:
before_script:

script:
- ng lint
- ng test --no-progress -sr
- ng lint --type-check
- ng test --no-progress -sr -cc

after_success:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ describe('CarouselSampleComponent', () => {

fixture.detectChanges();
console.log(component);

expect(component).toBeTruthy();
expect(component).not.toBeTruthy();
});
Expand Down
2 changes: 1 addition & 1 deletion src/app/shared/sidebar/sidebar.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class SidebarComponent implements OnInit {

mergeMenus() {
this.menuList = [];

this.remoteMenuList.map(x => {
this.menuList.push(x);
});
Expand Down

0 comments on commit 4da4d8c

Please sign in to comment.