Skip to content

Commit

Permalink
fix command not found
Browse files Browse the repository at this point in the history
  • Loading branch information
amirbilu committed Dec 5, 2023
1 parent 7a65793 commit b6aeff4
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -365,6 +365,10 @@
{
"command": "TabNine::assistantToggle",
"when": "tabnine-assistant:capability"
},
{
"command": "TabNine::configExternal",
"when": "!tabnine.enterprise"
}
],
"comments/commentThread/title": [
Expand Down
2 changes: 1 addition & 1 deletion src/commandsHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { Capability, isCapabilityEnabled } from "./capabilities/capabilities";
import { StateType, STATUS_BAR_FIRST_TIME_CLICKED } from "./globals/consts";

Check failure on line 4 in src/commandsHandler.ts

View workflow job for this annotation

GitHub Actions / Build & Lint

'/home/runner/work/tabnine-vscode/tabnine-vscode/src/globals/consts.ts' imported multiple times
import openHub, { openHubExternal } from "./hub/openHub";
import { showStatusBarNotificationOptions } from "./statusBar/statusBarNotificationOptions";
import { CONFIG_COMMAND } from "./globals/consts";

Check failure on line 7 in src/commandsHandler.ts

View workflow job for this annotation

GitHub Actions / Build & Lint

'/home/runner/work/tabnine-vscode/tabnine-vscode/src/globals/consts.ts' imported multiple times

const CONFIG_COMMAND = "TabNine::config";
const CONFIG_EXTERNAL_COMMAND = "TabNine::configExternal";
export const STATUS_BAR_COMMAND = "TabNine.statusBar";
export const SIGN_IN_AUTH_TOKEN_COMMAND = "tabnine.signInUsingAuthToken";
Expand Down
2 changes: 2 additions & 0 deletions src/globals/consts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -179,3 +179,5 @@ export enum SuggestionTrigger {

export const TLS_CONFIG_MIN_SUPPORTED_VERSION = "4.22.0";
export const IS_SELF_HOSTED_CONTEXT_KEY = "tabnine.isSelfHosted";
export const CONFIG_COMMAND = "TabNine::config";
export const EXTENSION_ID = "TabNine.tabnine-vscode";
2 changes: 1 addition & 1 deletion src/globals/proposedAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import * as path from "path";
import * as os from "os";
import showMessage from "../preRelease/messages";
import { Logger } from "../utils/logger";
import { EXTENSION_ID } from "./consts";

const EXTENSION_ID = "TabNine.tabnine-vscode";
const ARGV_FILE_NAME = "argv.json";
const PRODUCT_FILE_NAME = "product.json";
const PRODUCT_FILE_PATH = path.join(vscode.env.appRoot, PRODUCT_FILE_NAME);
Expand Down

0 comments on commit b6aeff4

Please sign in to comment.