Skip to content

Commit 3b95b58

Browse files
committed
Add minor review comments
1 parent 0acecbb commit 3b95b58

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/constants.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,12 @@ export enum JavaBuildTool {
6969
gradle = 'gradle'
7070
}
7171

72-
7372
export const ballerinaTomlFileName: string = "Ballerina.toml"
7473
export enum BallerinaBackend {
7574
jvm = 'jvm',
7675
native = 'native'
7776
}
7877

79-
8078
export enum PackageManager {
8179
npm = 'npm',
8280
brew = 'brew'

src/debug/BallerinaDebugProvider.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,20 @@ import { hostStartTaskName, localhost } from '../constants';
88
import { localize } from '../localize';
99
import { FuncDebugProviderBase } from './FuncDebugProviderBase';
1010

11-
export const defaultJavaDebugPort: number = 5005;
11+
export const defaultBallerinaDebugPort: number = 5005;
1212

1313
export const ballerinaDebugConfig: DebugConfiguration = {
14-
name: localize('attachJava', 'Attach to Ballerina Functions'),
14+
name: localize('attachBallerina', 'Attach to Ballerina Functions'),
1515
type: 'ballerina',
1616
request: 'attach',
1717
hostName: localhost,
18-
port: defaultJavaDebugPort,
18+
port: defaultBallerinaDebugPort,
1919
preLaunchTask: hostStartTaskName
2020
};
2121

2222
export class BallerinaDebugProvider extends FuncDebugProviderBase {
2323
public readonly workerArgKey: string = 'BALLERINA_DEBUG_FLAGS';
24-
protected readonly defaultPortOrPipeName: number = defaultJavaDebugPort;
24+
protected readonly defaultPortOrPipeName: number = defaultBallerinaDebugPort;
2525
protected readonly debugConfig: DebugConfiguration = ballerinaDebugConfig;
2626

2727
// eslint-disable-next-line @typescript-eslint/require-await

0 commit comments

Comments
 (0)