mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
logs: on the server, use template literals when possible
It's just synctactic sugar, but it is always better than executing string concatenations in one's mind. Do not do this with files in src/static, because we want to keep IE 11 compatibility.
This commit is contained in:
parent
0e972aaecf
commit
27b3b0ecd2
5 changed files with 15 additions and 15 deletions
|
@ -52,7 +52,7 @@ if(os.type().indexOf("Windows") > -1)
|
|||
abiword.on('exit', function (code)
|
||||
{
|
||||
if(code != 0) {
|
||||
return callback("Abiword died with exit code " + code);
|
||||
return callback(`Abiword died with exit code ${code}`);
|
||||
}
|
||||
|
||||
if(stdoutBuffer != "")
|
||||
|
@ -91,7 +91,7 @@ else
|
|||
abiword.on('exit', function (code)
|
||||
{
|
||||
spawnAbiword();
|
||||
stdoutCallback("Abiword died with exit code " + code);
|
||||
stdoutCallback(`Abiword died with exit code ${code}`);
|
||||
});
|
||||
|
||||
//delegate the processing of stdout to a other function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue