Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Shivansh-yadav13 committed Oct 11, 2022
1 parent 3fb8e70 commit 2818e1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/coreEnforcer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -623,7 +623,7 @@ export class CoreEnforcer {
return generatorRunAsync(this.privateEnforce(true, false, enforceContext, ...rvals));
}
}
return generatorRunAsync(this.privateEnforce(true, false, this.defaultEnforceContext, ...rvals));
return generatorRunAsync(this.privateEnforce(true, false, this.defaultEnforceContext, ...rvals));
}

/**
Expand Down
2 changes: 1 addition & 1 deletion test/enforcer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ describe('Unimplemented File Adapter methods', () => {

describe('Unimplemented String Adapter methods', () => {
let e = {} as Enforcer;
let a = {} as StringAdapter;
const a = {} as StringAdapter;

beforeEach(async () => {
const policy = readFileSync('examples/basic_policy.csv').toString();
Expand Down

0 comments on commit 2818e1c

Please sign in to comment.