diff options
author | 2018-11-30 16:45:47 +0100 | |
---|---|---|
committer | 2018-11-30 16:45:47 +0100 | |
commit | 5d5a04e5aa2c24aacc30b9532ba03e15295a0488 (patch) | |
tree | 230b77629390150dea8b3a9d8f1eae1f86ed8039 /src/electron/ipc-api/download.js | |
parent | feat(App): Improved spell checker & context menu (diff) | |
download | ferdium-app-5d5a04e5aa2c24aacc30b9532ba03e15295a0488.tar.gz ferdium-app-5d5a04e5aa2c24aacc30b9532ba03e15295a0488.tar.zst ferdium-app-5d5a04e5aa2c24aacc30b9532ba03e15295a0488.zip |
Fix linting issues
Diffstat (limited to 'src/electron/ipc-api/download.js')
-rw-r--r-- | src/electron/ipc-api/download.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/electron/ipc-api/download.js b/src/electron/ipc-api/download.js index 399ca6117..9e504834d 100644 --- a/src/electron/ipc-api/download.js +++ b/src/electron/ipc-api/download.js | |||
@@ -6,7 +6,7 @@ import fs from 'fs-extra'; | |||
6 | const debug = require('debug')('Franz:ipcApi:download'); | 6 | const debug = require('debug')('Franz:ipcApi:download'); |
7 | 7 | ||
8 | function decodeBase64Image(dataString) { | 8 | function decodeBase64Image(dataString) { |
9 | const matches = dataString.match(/^data:([A-Za-z-+\/]+);base64,(.+)$/); | 9 | const matches = dataString.match(/^data:([A-Za-z-+/]+);base64,(.+)$/); |
10 | 10 | ||
11 | if (matches.length !== 3) { | 11 | if (matches.length !== 3) { |
12 | return new Error('Invalid input string'); | 12 | return new Error('Invalid input string'); |