Skip to content

Commit

Permalink
Merge pull request #237 from Welltested-AI/fix/failing-vscode-lints
Browse files Browse the repository at this point in the history
Fixed Lint Checkers
  • Loading branch information
samyakkkk authored Mar 11, 2024
2 parents 570e1cf + 7da15cc commit a027872
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
runs-on: ubuntu-latest # Host's operating system.
steps:
- name: Checkout commit # Download the code from triggering commit.
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: '12.x'
node-version: '20.x'

- name: Cache NPM # Leverage npm cache on repeated workflow runs if package.json didn't change.
uses: actions/cache@v1
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/vscode/package-lock.json') }} # Make sure to target the `vscode` directory.
Expand Down
2 changes: 1 addition & 1 deletion vscode/src/pebbles/pebble-pabel-provider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import * as fs from 'fs';
import * as yaml from 'js-yaml';
import path = require('path');
import { extractDartCode } from '../utilities/code-processing';
import { promptGithubLogin } from '../extension'
import { promptGithubLogin } from '../extension';
import { makeAuthorizedHttpRequest, makeHttpRequest } from '../repository/http-utils';
import TelemetryReporter from '@vscode/extension-telemetry';
import { logEvent } from '../utilities/telemetry-reporter';
Expand Down
4 changes: 2 additions & 2 deletions vscode/src/pebbles/pebble_repository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { extractDartCode } from '../utilities/code-processing';
import * as fs from 'fs';
import * as yaml from 'js-yaml';
import path = require('path');
import { promptGithubLogin } from '../extension'
import { promptGithubLogin } from '../extension';
import { makeAuthorizedHttpRequest, makeHttpRequest } from '../repository/http-utils';
import { logEvent } from '../utilities/telemetry-reporter';
import { GeminiRepository } from '../repository/gemini-repository';
Expand Down Expand Up @@ -193,6 +193,6 @@ async function addPebbleUsage(
method: 'post',
url: process.env["pebble_used"],
data: params,
}
};
const response = await makeAuthorizedHttpRequest(config, context);
}
1 change: 1 addition & 0 deletions vscode/src/tools/create/widget_from_description.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export async function createWidgetFromDescription(geminiRepo: GeminiRepository,
canSelectFolders: false,
canSelectMany: false,
filters: {
// eslint-disable-next-line @typescript-eslint/naming-convention
Images: ['png', 'jpg', 'jpeg', 'gif', 'bmp']
}
});
Expand Down

0 comments on commit a027872

Please sign in to comment.