Skip to content

Commit

Permalink
Add flutter prefix to command
Browse files Browse the repository at this point in the history
  • Loading branch information
DanTup committed Jan 21, 2019
1 parent 43fe891 commit af3ad77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export class SdkCommands {
constructor(context: vs.ExtensionContext, private dartExtensionApi: any) {

context.subscriptions.push(vs.commands.registerCommand("flutter.createSampleProject",
(_) => this.runFunctionIfSupported(dartExtensionApi.createSampleProject)));
(_) => this.runFunctionIfSupported(dartExtensionApi.flutterCreateSampleProject)));
}

private async runFunctionIfSupported<T>(f: () => Promise<T>): Promise<T> {
Expand Down

0 comments on commit af3ad77

Please sign in to comment.