不要怂,就是干,撸起袖子干!

Commit efd6afe0 by Jan Aagaard Meier

Fix missing _ variable in param validator

1 parent 1403bb64
Showing with 2 additions and 1 deletions
var cJSON = require('circular-json')
, _ = require('lodash') // Don't require Utils here, as it creates a circular dependency
var ParameterValidator = module.exports = {
check: function(value, expectation, options) {
options = Utils._.extend({
options = _.extend({
throwError: true,
deprecated: false,
deprecationWarning: generateDeprecationWarning(value, expectation, options),
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!