mirror of
https://github.com/catppuccin/obsidian.git
synced 2026-07-22 03:10:26 +00:00
11 lines
262 B
JavaScript
11 lines
262 B
JavaScript
var util = require('util')
|
|
|
|
module.exports = function () {
|
|
var args = Array.prototype.slice.call(arguments, 0)
|
|
args.forEach(function (arg) {
|
|
if (!arg) {
|
|
throw new TypeError('Bad arguments.')
|
|
}
|
|
})
|
|
return util.format.apply(null, arguments)
|
|
}
|