mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
refactor(core): Remove linting exceptions in nodes-base (no-changelog) (#4944)
This commit is contained in:
@@ -2589,7 +2589,7 @@ export class GoogleDrive implements INodeType {
|
||||
|
||||
let offset = 0;
|
||||
for await (const chunk of fileContent) {
|
||||
const nextOffset = offset + chunk.length;
|
||||
const nextOffset = offset + Number(chunk.length);
|
||||
try {
|
||||
const response = await this.helpers.httpRequest({
|
||||
method: 'PUT',
|
||||
@@ -2729,7 +2729,7 @@ export class GoogleDrive implements INodeType {
|
||||
const body = {
|
||||
name,
|
||||
mimeType: 'application/vnd.google-apps.folder',
|
||||
parents: options.parents || [],
|
||||
parents: options.parents ?? [],
|
||||
};
|
||||
|
||||
const qs = {
|
||||
|
||||
Reference in New Issue
Block a user