@bobfrankston/iflow 1.0.14 → 1.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/imaplib/gmail.js +1 -5
- package/package.json +1 -1
package/imaplib/gmail.js
CHANGED
|
@@ -8,11 +8,7 @@ const GMAIL_SERVER = 'imap.gmail.com';
|
|
|
8
8
|
const GMAIL_PORT = 993;
|
|
9
9
|
const GMAIL_SCOPE = 'https://mail.google.com/';
|
|
10
10
|
// Get the directory where this module is located
|
|
11
|
-
|
|
12
|
-
const PACKAGE_DIR = path.resolve(import.meta.dirname, '..');
|
|
13
|
-
const DEFAULT_CREDENTIALS_PATH = fs.existsSync(path.join(PACKAGE_DIR, 'iflow-credentials.json'))
|
|
14
|
-
? path.join(PACKAGE_DIR, 'iflow-credentials.json')
|
|
15
|
-
: path.join(PACKAGE_DIR, 'credentials.json');
|
|
11
|
+
const DEFAULT_CREDENTIALS_PATH = path.resolve(import.meta.dirname, '..', 'iflow-credentials.json');
|
|
16
12
|
/**
|
|
17
13
|
* Check if email address is Gmail
|
|
18
14
|
*/
|