We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d615f3 commit 15fe73aCopy full SHA for 15fe73a
src/handlers/intent.js
@@ -10,7 +10,11 @@ const handlers = [];
10
* @param {Intent} intent
11
*/
12
export default async function HandleIntent(intent = {}) {
13
- if (intent !== undefined && intent.action !== undefined && ["SEND", "VIEW", "EDIT"].includes(intent.action.split(".").slice(-1)[0])) {
+ if (
14
+ intent !== undefined &&
15
+ intent.action !== undefined &&
16
+ ["SEND", "VIEW", "EDIT"].includes(intent.action.split(".").slice(-1)[0])
17
+ ) {
18
/**@type {string} */
19
const url = intent.fileUri || intent.data;
20
if (!url) return;
0 commit comments