UNPKG
yaspeller-ci
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
0.7.0
0.6.0
0.5.0
0.4.1
0.4.0
0.3.0
0.2.0
0.1.0
Fast spelling check for Travis CI
github.com/ai/yaspeller-ci
ai/yaspeller-ci
yaspeller-ci
/
bin.js
11 lines
(8 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env node
'use strict'
let
ciJobNumber =
require
(
'ci-job-number'
)
if
(
ciJobNumber
() ===
1
) {
require
(
'yaspeller/lib/cli'
) }
else
{
console
.
warn
(
'To speed up CI spelling check runs only in first job'
) }