From de00233628549432acac913c299c4590ab0f2bcd Mon Sep 17 00:00:00 2001 From: 0xflotus <0xflotus@gmail.com> Date: Tue, 20 Aug 2019 13:26:39 +0200 Subject: [PATCH] travis config --- .travis.yml | 3 --- src/index.ts | 18 +++++++++--------- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4ab2352..aab19bd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,9 +1,6 @@ language: node_js node_js: - 11 - - 10 - - 9 - - 8 os: - linux - osx diff --git a/src/index.ts b/src/index.ts index ffaa623..09b69de 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,16 +11,16 @@ if (vOptions.indexOf(process.argv[2]) > -1) { console.log( /[^a-zA-Z]/.test(val) ? chalk.red( - `${ - osLocale.sync() === "de_DE" - ? "Es gibt nicht unterstuetzte Zeichen in" - : "There are not supported characters in" - } '${val}'` - ) + `${ + osLocale.sync() === "de_DE" + ? "Es gibt nicht unterstuetzte Zeichen in" + : "There are not supported characters in" + } '${val}'` + ) : val - .split("") - .map((e: string) => dict.get(e.toLowerCase())![0]) - .join(" ") + .split("") + .map((e: string) => dict.get(e.toLowerCase())![0]) + .join(" ") ) }) }