| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 28758b8 commit a3f7471
18 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1184,8 +1184,12 @@ lint-js-fix: | |||
| 1184 | 1184 | # Note that on the CI `lint-js-ci` is run instead. | |
| 1185 | 1185 | # Lints the JavaScript code with eslint. | |
| 1186 | 1186 | lint-js: | |
| 1187 | - @echo "Running JS linter..." | ||
| 1188 | - @$(call available-node,$(run-lint-js)) | ||
| 1187 | + @if [ "$(shell $(node_use_openssl))" != "true" ]; then \ | ||
| 1188 | + echo "Skipping $@ (no crypto)"; \ | ||
| 1189 | + else \ | ||
| 1190 | + echo "Running JS linter..."; \ | ||
| 1191 | + $(call available-node,$(run-lint-js)) \ | ||
| 1192 | + fi | ||
| 1189 | 1193 | ||
| 1190 | 1194 | jslint: lint-js | |
| 1191 | 1195 | @echo "Please use lint-js instead of jslint" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + if (!common.hasCrypto) | ||
| 5 | + common.skip('missing crypto'); | ||
| 4 | 6 | common.skipIfEslintMissing(); | |
| 5 | 7 | ||
| 6 | 8 | const RuleTester = require('../../tools/node_modules/eslint').RuleTester; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + if (!common.hasCrypto) | ||
| 5 | + common.skip('missing crypto'); | ||
| 4 | 6 | ||
| 5 | 7 | common.skipIfEslintMissing(); | |
| 6 | 8 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + if (!common.hasCrypto) | ||
| 5 | + common.skip('missing crypto'); | ||
| 4 | 6 | common.skipIfEslintMissing(); | |
| 5 | 7 | ||
| 6 | 8 | const RuleTester = require('../../tools/node_modules/eslint').RuleTester; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + if (!common.hasCrypto) | ||
| 5 | + common.skip('missing crypto'); | ||
| 4 | 6 | ||
| 5 | 7 | common.skipIfEslintMissing(); | |
| 6 | 8 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + if (!common.hasCrypto) | ||
| 5 | + common.skip('missing crypto'); | ||
| 4 | 6 | ||
| 5 | 7 | common.skipIfEslintMissing(); | |
| 6 | 8 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + if (!common.hasCrypto) | ||
| 5 | + common.skip('missing crypto'); | ||
| 4 | 6 | common.skipIfEslintMissing(); | |
| 5 | 7 | ||
| 6 | 8 | const RuleTester = require('../../tools/node_modules/eslint').RuleTester; | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + if (!common.hasCrypto) | ||
| 5 | + common.skip('missing crypto'); | ||
| 4 | 6 | ||
| 5 | 7 | common.skipIfEslintMissing(); | |
| 6 | 8 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + if (!common.hasCrypto) | ||
| 5 | + common.skip('missing crypto'); | ||
| 4 | 6 | ||
| 5 | 7 | common.skipIfEslintMissing(); | |
| 6 | 8 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,8 @@ | |||
| 1 | 1 | 'use strict'; | |
| 2 | 2 | ||
| 3 | 3 | const common = require('../common'); | |
| 4 | + if (!common.hasCrypto) | ||
| 5 | + common.skip('missing crypto'); | ||
| 4 | 6 | ||
| 5 | 7 | common.skipIfEslintMissing(); | |
| 6 | 8 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments