Travis build: 848 [cron]
This commit is contained in:
4
dist/_30s.js
vendored
4
dist/_30s.js
vendored
@ -616,9 +616,9 @@
|
||||
const isTravisCI = () => 'TRAVIS' in process.env && 'CI' in process.env;
|
||||
const isUndefined = val => val === undefined;
|
||||
const isUpperCase = str => str === str.toUpperCase();
|
||||
const isValidJSON = obj => {
|
||||
const isValidJSON = str => {
|
||||
try {
|
||||
JSON.parse(obj);
|
||||
JSON.parse(str);
|
||||
return true;
|
||||
} catch (e) {
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user