Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
Signed-off-by: worksofliam <[email protected]>
  • Loading branch information
worksofliam committed Nov 10, 2024
1 parent 72924f0 commit cd82165
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion language/models/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,6 @@ export default class Cache {
const currentProcedure = this.procedures.find(proc => lineNumber >= proc.range.start && lineNumber <= proc.range.end);

if (currentProcedure && currentProcedure.scope) {
console.log(currentProcedure.scope.constants);
const localDef = currentProcedure.scope.constants.find(def => def.keyword[upperValue] === true);

if (localDef) {
Expand Down
2 changes: 0 additions & 2 deletions tests/suite/basics.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1162,7 +1162,6 @@ test(`exec_14`, async () => {

const cache = await parser.getDocs(uri, lines, {withIncludes: true, ignoreCache: true});

console.log(cache.sqlReferences);
expect(cache.sqlReferences.length).toBe(1);
expect(cache.sqlReferences[0].name).toBe(`table1`);
});
Expand Down Expand Up @@ -1233,7 +1232,6 @@ test('keywords over multiple lines', async () => {
expect(invoiceParm.keyword[`CONST`]).toBe(true);

const detailParm = invoice_get_invoice.subItems[2];
console.log(detailParm);
expect(detailParm.name).toBe(`details`);
expect(detailParm.keyword[`LIKEDS`]).toBe(`INVOICE_GET_INVOICE_SALES_DETAIL_DS`);
expect(detailParm.keyword[`DIM`]).toBe(`INVOICE_MAX_DETAILS`);
Expand Down

0 comments on commit cd82165

Please sign in to comment.