From caddbad61f36467f0ebbbcc6e8a7aa0ff12334c0 Mon Sep 17 00:00:00 2001 From: johnfn Date: Thu, 30 Jun 2016 13:10:53 -0400 Subject: [PATCH] Fix some problems with tslint and Travis. --- .travis.yml | 5 +++-- src/mode/modeHandler.ts | 2 +- test/mode/modeNormal.test.ts | 2 +- tsconfig.json | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index bc476fbe034..8fe34e9ff07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,7 +18,7 @@ node_js: - "4.2" env: - - GITHUB_TOKEN=1b17d62d38a4846efa7ea4de4b773b581787b0f1 + - GITHUB_TOKEN=1b17d62d38a4846efa7ea4de4b773b581787b0f1 before_install: - if [ $TRAVIS_OS_NAME == "linux" ]; then @@ -26,8 +26,9 @@ before_install: sh -e /etc/init.d/xvfb start; sleep 3; fi - + install: + - typings install - npm install - npm run vscode:prepublish diff --git a/src/mode/modeHandler.ts b/src/mode/modeHandler.ts index 60a11fe4b67..157f0f960c4 100644 --- a/src/mode/modeHandler.ts +++ b/src/mode/modeHandler.ts @@ -583,7 +583,7 @@ export class ModeHandler implements vscode.Disposable { // have changed it as well. (TODO: do you even decomposition bro) if (vimState.currentMode !== this.currentModeName) { - this.setCurrentModeByName(vimState) + this.setCurrentModeByName(vimState); if (vimState.currentMode === ModeName.Normal) { ranRepeatableAction = true; diff --git a/test/mode/modeNormal.test.ts b/test/mode/modeNormal.test.ts index 9757036ca2c..4af80c69f2c 100644 --- a/test/mode/modeNormal.test.ts +++ b/test/mode/modeNormal.test.ts @@ -11,7 +11,7 @@ suite("Mode Normal", () => { let { newTest, - newTestOnly + // newTestOnly } = getTestingFunctions(modeHandler); setup(async () => { diff --git a/tsconfig.json b/tsconfig.json index 6ce1cba7029..1486a19efdf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -11,4 +11,4 @@ "exclude": [ "node_modules" ] -} \ No newline at end of file +}