Skip to content

Commit 2059d20

Browse files
committed
Bring node v4 support back
1 parent 9d3d388 commit 2059d20

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/messagetags.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
'use strict';
2+
13
module.exports.decodeValue = decodeValue;
24
module.exports.encodeValue = encodeValue;
35
module.exports.decode = decode;
@@ -63,7 +65,7 @@ function encode(tags) {
6365
return key;
6466
}
6567

66-
return `${key}=${encodeValue(val.toString())}`;
68+
return key + '=' + encodeValue(val.toString());
6769
});
6870

6971
return parts.join(';');

0 commit comments

Comments
 (0)