remove UUID_RE in favor of isUUID
This commit is contained in:
parent
7ab6453b1f
commit
b4900ea626
@ -20,8 +20,6 @@ var errors = require('./errors'),
|
|||||||
|
|
||||||
var p = console.log;
|
var p = console.log;
|
||||||
|
|
||||||
var UUID_RE = /^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/;
|
|
||||||
|
|
||||||
// ---- support stuff
|
// ---- support stuff
|
||||||
|
|
||||||
function objCopy(obj, target) {
|
function objCopy(obj, target) {
|
||||||
@ -422,7 +420,6 @@ function getCliTableOptions(opts) {
|
|||||||
//---- exports
|
//---- exports
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
UUID_RE: UUID_RE,
|
|
||||||
objCopy: objCopy,
|
objCopy: objCopy,
|
||||||
deepObjCopy: deepObjCopy,
|
deepObjCopy: deepObjCopy,
|
||||||
zeroPad: zeroPad,
|
zeroPad: zeroPad,
|
||||||
|
Reference in New Issue
Block a user