Skip to content

Commit 15fe73a

Browse files
format
1 parent 5d615f3 commit 15fe73a

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/handlers/intent.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@ const handlers = [];
1010
* @param {Intent} intent
1111
*/
1212
export default async function HandleIntent(intent = {}) {
13-
if (intent !== undefined && intent.action !== undefined && ["SEND", "VIEW", "EDIT"].includes(intent.action.split(".").slice(-1)[0])) {
13+
if (
14+
intent !== undefined &&
15+
intent.action !== undefined &&
16+
["SEND", "VIEW", "EDIT"].includes(intent.action.split(".").slice(-1)[0])
17+
) {
1418
/**@type {string} */
1519
const url = intent.fileUri || intent.data;
1620
if (!url) return;

0 commit comments

Comments
 (0)