зеркало из https://github.com/twbs/bootlint.git
Partially revert ea98539
.
This commit is contained in:
Родитель
5809200173
Коммит
2d8ea4daaf
|
@ -5,19 +5,10 @@
|
|||
const os = require('os');
|
||||
const glob = require('glob');
|
||||
const async = require('async');
|
||||
const isTravis = require('is-travis');
|
||||
const qunit = require('node-qunit-phantomjs');
|
||||
|
||||
const cpus = os.cpus().length;
|
||||
let THREADS;
|
||||
|
||||
if (isTravis) {
|
||||
THREADS = cpus;
|
||||
} else if (cpus <= 2) {
|
||||
THREADS = 1;
|
||||
} else {
|
||||
THREADS = cpus / 2;
|
||||
}
|
||||
const THREADS = cpus <= 2 ? 1 : cpus / 2;
|
||||
|
||||
const ignore = [
|
||||
'test/fixtures/jquery/missing.html',
|
||||
|
|
|
@ -2882,12 +2882,6 @@
|
|||
"integrity": "sha1-EtSj3U5o4Lec6428hBc66A2RykQ=",
|
||||
"dev": true
|
||||
},
|
||||
"is-travis": {
|
||||
"version": "2.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-travis/-/is-travis-2.0.0.tgz",
|
||||
"integrity": "sha512-aCZFmQYDeip3yaHVmgooGSmBQ9quOunZl31ugBANy9OgzjwHFZ8Jga6cv4K1xZgNliI0bKD0Axuu1tCQuH9o/A==",
|
||||
"dev": true
|
||||
},
|
||||
"is-typedarray": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/is-typedarray/-/is-typedarray-1.0.0.tgz",
|
||||
|
|
|
@ -46,7 +46,6 @@
|
|||
"browserify": "^16.2.2",
|
||||
"coveralls": "^3.0.1",
|
||||
"eslint": "^4.19.1",
|
||||
"is-travis": "^2.0.0",
|
||||
"jquery": "^3.3.1",
|
||||
"node-qunit-phantomjs": "^2.0.0",
|
||||
"nodeunit": "^0.11.2",
|
||||
|
|
Загрузка…
Ссылка в новой задаче