@datacamp/learn-vm-scripts 1.0.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +4 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -92897,7 +92897,7 @@ async function loginToSnowflake({
|
|
|
92897
92897
|
|
|
92898
92898
|
// src/startInputWatcher.ts
|
|
92899
92899
|
var Input = objectType({
|
|
92900
|
-
cloudProvider: enumType(["aws", "azure", "
|
|
92900
|
+
cloudProvider: enumType(["aws", "azure", "snowflake"]),
|
|
92901
92901
|
password: stringType(),
|
|
92902
92902
|
url: stringType(),
|
|
92903
92903
|
username: stringType()
|
|
@@ -92909,11 +92909,12 @@ var handleInput = async ({ line, page }) => {
|
|
|
92909
92909
|
);
|
|
92910
92910
|
switch (cloudProvider) {
|
|
92911
92911
|
case "azure":
|
|
92912
|
+
if (url.includes("azuredatabricks")) {
|
|
92913
|
+
return loginToDatabricks({ url, page, password, username });
|
|
92914
|
+
}
|
|
92912
92915
|
return loginToAzure({ url, username, page, password });
|
|
92913
92916
|
case "aws":
|
|
92914
92917
|
return loginToAWS({ url, username, page, password });
|
|
92915
|
-
case "databricks":
|
|
92916
|
-
return loginToDatabricks({ url, page, password, username });
|
|
92917
92918
|
case "snowflake":
|
|
92918
92919
|
return loginToSnowflake({ url, username, page, password });
|
|
92919
92920
|
default:
|
package/package.json
CHANGED