Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit ed5b0f1

Browse files
committed
fix: Move InvokeService variable initialization outside of the constructor header (#270)
1 parent d96d4e1 commit ed5b0f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/services/invokeService.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ import configConstants from "../config";
66

77
export class InvokeService extends BaseService {
88
public functionAppService: FunctionAppService;
9+
private local: boolean;
910

10-
public constructor(serverless: Serverless, options: Serverless.Options, private local: boolean = false) {
11+
public constructor(serverless: Serverless, options: Serverless.Options, local: boolean = false) {
1112
super(serverless, options, !local);
13+
this.local = local;
1214
if (!local) {
1315
this.functionAppService = new FunctionAppService(serverless, options);
1416
}

0 commit comments

Comments
 (0)