Your IP : 216.73.217.154


Current Path : /var/www/html/dev/reddsis-dev/node_modules/concurrently/dist/src/
Upload File :
Current File : /var/www/html/dev/reddsis-dev/node_modules/concurrently/dist/src/utils.js

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.escapeRegExp = escapeRegExp;
exports.castArray = castArray;
/**
 * Escapes a string for use in a regular expression.
 */
function escapeRegExp(str) {
    return str.replace(/[.*+?^${}()|[\]\\]/g, '\\$&');
}
/**
 * Casts a value to an array if it's not one.
 */
function castArray(value) {
    return (Array.isArray(value) ? value : value != null ? [value] : []);
}