We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 464929e + 450b646 commit 333c98aCopy full SHA for 333c98a
src/proxy/processors/push-action/parsePush.ts
@@ -1,5 +1,6 @@
1
import { Action, Step } from '../../actions';
2
import zlib from 'zlib';
3
+import fs from 'fs';
4
import lod from 'lodash';
5
6
import {
@@ -19,6 +20,12 @@ import {
19
20
21
const BitMask = require('bit-mask') as any;
22
23
+const dir = './.tmp/';
24
+
25
+if (!fs.existsSync(dir)) {
26
+ fs.mkdirSync(dir);
27
+}
28
29
/**
30
* Executes the parsing of a push request.
31
* @param {*} req - The request object containing the push data.
0 commit comments