Skip to content

Commit e66a039

Browse files
committed
use const where applicable in Template
1 parent dd2aec7 commit e66a039

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎lib/Template.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module.exports = class Template extends Tapable {
5757
}
5858
str = str.trim();
5959
if(!str) return "";
60-
let ind = (str[0] === "\n" ? "" : prefix);
60+
const ind = (str[0] === "\n" ? "" : prefix);
6161
return ind + str.replace(/\n([^\n])/g, "\n" + prefix + "$1");
6262
}
6363

0 commit comments

Comments
 (0)