remove unnecessary format call
This commit is contained in:
parent
89ff760b6d
commit
6b0a880efa
|
@ -13,7 +13,6 @@ var debug = require('debug')('loopback:model');
|
|||
var RemoteObjects = require('strong-remoting');
|
||||
var SharedClass = require('strong-remoting').SharedClass;
|
||||
var extend = require('util')._extend;
|
||||
var format = require('util').format;
|
||||
|
||||
var deprecated = require('depd')('loopback');
|
||||
|
||||
|
@ -545,7 +544,7 @@ module.exports = function(registry) {
|
|||
{arg: 'options', type: 'object', http: 'optionsFromRequest'},
|
||||
],
|
||||
accessType: 'READ',
|
||||
description: format(g.f('Fetches belongsTo relation %s.', relationName)),
|
||||
description: g.f('Fetches belongsTo relation %s.', relationName),
|
||||
returns: {arg: relationName, type: modelName, root: true},
|
||||
}, fn);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue