You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
Tools: Added eslint rule arrow-parens
This commit is contained in:
@ -30,7 +30,7 @@ netUtils.findAvailablePort = async (possiblePorts, extraRandomPortsToTry = 20) =
|
||||
return port;
|
||||
};
|
||||
|
||||
netUtils.mimeTypeFromHeaders = headers => {
|
||||
netUtils.mimeTypeFromHeaders = (headers) => {
|
||||
if (!headers || !headers['content-type']) return null;
|
||||
|
||||
const splitted = headers['content-type'].split(';');
|
||||
|
Reference in New Issue
Block a user