mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
benchmark,doc,lib,test: prepare for padding lint rule
Upcoming lint rule will require a blank line between consecutive functions. Add it in the places where we don't have it already. PR-URL: https://github.com/nodejs/node/pull/30696 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Denys Otrishko <shishugi@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
2070d3f8eb
commit
359766b2c3
26 files changed
+43
No files matched your search
@@ -4,6 +4,7 @@ const assert = require('assert');
|
||||
function createURL(mime, body) {
|
||||
return `data:${mime},${body}`;
|
||||
}
|
||||
|
||||
function createBase64URL(mime, body) {
|
||||
return `data:${mime};base64,${Buffer.from(body).toString('base64')}`;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user