Skip to content

Commit e2cbbd8

Browse files
committed
Fixed typo
1 parent 0dd8157 commit e2cbbd8

File tree

6 files changed

+13
-13
lines changed

6 files changed

+13
-13
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"bugs": {
1414
"url": "https://github.com/innoverio/vscode-dbt-power-user/issues"
1515
},
16-
"version": "0.5.0",
16+
"version": "0.5.1",
1717
"engines": {
1818
"vscode": "^1.52.0"
1919
},
@@ -98,8 +98,8 @@
9898
}
9999
},
100100
{
101-
"command": "dbtPowerUser.showRanSQL",
102-
"title": "dbt Power User: Show ran SQL",
101+
"command": "dbtPowerUser.showRunSQL",
102+
"title": "dbt Power User: Show run SQL",
103103
"icon": {
104104
"light": "./media/file-code_light.svg",
105105
"dark": "./media/file-code_dark.svg"

src/commands/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ export class VSCodeCommands implements Disposable {
2727
commands.registerCommand("dbtPowerUser.runParentModels", (model) =>
2828
this.runModel.runModelOnNodeTreeItem(RunModelType.PARENTS)(model)
2929
),
30-
commands.registerCommand("dbtPowerUser.showRanSQL", () =>
31-
this.runModel.showRanSQLOnActiveWindow()
30+
commands.registerCommand("dbtPowerUser.showRunSQL", () =>
31+
this.runModel.showRunSQLOnActiveWindow()
3232
),
3333
commands.registerCommand("dbtPowerUser.showCompiledSQL", () =>
3434
this.runModel.showCompiledSQLOnActiveWindow()

src/commands/runModel.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ export class RunModel {
3939
}
4040
}
4141

42-
showRanSQLOnActiveWindow() {
42+
showRunSQLOnActiveWindow() {
4343
const fullPath = window.activeTextEditor?.document.uri;
4444
if (fullPath !== undefined) {
45-
this.showRanSQL(fullPath);
45+
this.showRunSQL(fullPath);
4646
}
4747
}
4848

@@ -58,7 +58,7 @@ export class RunModel {
5858
this.dbtProjectContainer.showCompiledSQL(modelPath);
5959
}
6060

61-
showRanSQL(modelPath: Uri) {
62-
this.dbtProjectContainer.showRanSQL(modelPath);
61+
showRunSQL(modelPath: Uri) {
62+
this.dbtProjectContainer.showRunSQL(modelPath);
6363
}
6464
}

src/manifest/dbtProject.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export class DBTProject implements Disposable {
148148
this.findModelInTargetfolder(modelPath, "compiled");
149149
}
150150

151-
showRanSQL(modelPath: Uri) {
151+
showRunSQL(modelPath: Uri) {
152152
this.findModelInTargetfolder(modelPath, "run");
153153
}
154154

src/manifest/dbtProjectContainer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ export class DBTProjectContainer implements Disposable {
8888
this.findDBTProject(modelPath)?.compileModel(this.createModelParams(modelPath, type));
8989
}
9090

91-
showRanSQL(modelPath: Uri) {
92-
this.findDBTProject(modelPath)?.showRanSQL(modelPath);
91+
showRunSQL(modelPath: Uri) {
92+
this.findDBTProject(modelPath)?.showRunSQL(modelPath);
9393
}
9494

9595
showCompiledSQL(modelPath: Uri) {

0 commit comments

Comments
 (0)