Skip to content

Commit

Permalink
Add convenience alias for util.format (#322)
Browse files Browse the repository at this point in the history
  • Loading branch information
joey-kendall committed Oct 15, 2020
1 parent f5b035a commit 96065d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ var POOL = new BufferPool(4096);
// Valid (field, type, and symbol) name regex.
var NAME_PATTERN = /^[A-Za-z_][A-Za-z0-9_]*$/;

// Convenience imports.
var f = util.format;

/**
* Create a new empty buffer.
*
Expand Down

0 comments on commit 96065d9

Please sign in to comment.