projects
/
dotfiles
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b07f1006d1ad299d3e33a9bae4ffd681f166cf2f
[dotfiles/.git]
/
safe_format.js
1
var util = require('util')
2
3
module.exports = function() {
4
var args = Array.prototype.slice.call(arguments, 0)
5
args.forEach(function(arg) {
6
if (!arg) throw new TypeError('Bad arguments.')
7
})
8
return util.format.apply(null, arguments)
9
}