Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Lint Checkers #237

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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