We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b902861 + 1bb067b commit d3392acCopy full SHA for d3392ac
lib/beautifier.js
@@ -5,6 +5,7 @@ const md = require('markdown-it')();
5
const curlGenerator = require('./curl-builder');
6
7
const sharedStart = (array) => {
8
+ if (array.length == 0) { return ''; }
9
const A = array.concat().sort();
10
const a1 = A[0], a2 = A[A.length - 1], L = a1.length;
11
let i = 0;
0 commit comments