Skip to content

Commit e120588

Browse files
committed
resolved the linting issues
1 parent d66788b commit e120588

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

components/databricks/actions/edit-sql-warehouse/edit-sql-warehouse.mjs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,10 +144,16 @@ export default {
144144
if (this.autoStopMins !== undefined && this.autoStopMins !== 0 && this.autoStopMins < 10) {
145145
throw new Error("autoStopMins must be 0 or >= 10.");
146146
}
147-
if (this.minNumClusters !== undefined && (this.minNumClusters < 1 || this.minNumClusters > 30)) {
147+
if (
148+
this.minNumClusters !== undefined &&
149+
(this.minNumClusters < 1 || this.minNumClusters > 30)
150+
) {
148151
throw new Error("minNumClusters must be between 1 and 30.");
149152
}
150-
if (this.maxNumClusters !== undefined && (this.maxNumClusters < 1 || this.maxNumClusters > 30)) {
153+
if (
154+
this.maxNumClusters !== undefined &&
155+
(this.maxNumClusters < 1 || this.maxNumClusters > 30)
156+
) {
151157
throw new Error("maxNumClusters must be between 1 and 30.");
152158
}
153159
if (this.minNumClusters !== undefined &&
@@ -167,6 +173,6 @@ export default {
167173

168174
$.export("$summary", `Successfully edited SQL Warehouse ID ${this.warehouseId}`);
169175
return response;
170-
}
176+
},
171177

172178
};

0 commit comments

Comments
 (0)