Skip to content

Commit

Permalink
travis config
Browse files Browse the repository at this point in the history
  • Loading branch information
0xflotus committed Aug 20, 2019
1 parent cefe289 commit de00233
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .travis.yml
@@ -1,9 +1,6 @@
language: node_js
node_js:
- 11
- 10
- 9
- 8
os:
- linux
- osx
Expand Down
18 changes: 9 additions & 9 deletions src/index.ts
Expand Up @@ -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(" ")
)
})
}

0 comments on commit de00233

Please sign in to comment.