Your IP : 216.73.216.79


Current Path : /var/www/html/mysis/node_modules/concurrently/dist/src/
Upload File :
Current File : /var/www/html/mysis/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] : []);
}