Skip to content

Commit caa5037

Browse files
committed
fix: remove unnecessary blank lines
1 parent 069551f commit caa5037

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

spec/CloudCode.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ describe('Cloud Code', () => {
343343
expect(results.length).toBe(1);
344344
expect(results[0].id).toBe(secret.id);
345345
});
346-
346+
347347
it('should apply protectedFields masking after re-filtering', async () => {
348348
// Configure protectedFields for SecretMask: mask `secretField` for everyone
349349
const protectedFields = { SecretMask: { '*': ['secretField'] } };

src/rest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ async function runFindTriggers(
3434
options = {}
3535
) {
3636
const { isGet } = options;
37-
37+
3838
// Run beforeFind trigger - may modify query or return objects directly
3939
const result = await triggers.maybeRunQueryTrigger(
4040
triggers.Types.beforeFind,
@@ -62,7 +62,7 @@ async function runFindTriggers(
6262
const ids = (Array.isArray(objectsFromBeforeFind) ? objectsFromBeforeFind : [objectsFromBeforeFind])
6363
.map(o => (o && (o.id || o.objectId)) || null)
6464
.filter(Boolean);
65-
65+
6666
// Objects without IDs are(normally) unsaved objects
6767
// For unsaved objects, the ACL security does not apply, so no need to redo the query.
6868
// For saved objects, we need to re-query to ensure proper ACL/CLP enforcement

src/triggers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ export function maybeRunAfterFindTrigger(
495495
auth,
496496
config.logLevels.triggerBeforeSuccess
497497
);
498-
498+
499499
// Convert plain objects to Parse.Object instances for trigger
500500
request.objects = objectsInput.map(currentObject => {
501501
if (currentObject instanceof Parse.Object) {

0 commit comments

Comments
 (0)