@microsoft/vscode-azext-azureappservice
Advanced tools
Comparing version 0.7.5 to 0.7.6
export declare const webProvider: string; | ||
export declare const publisherName: string; |
@@ -7,4 +7,5 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.webProvider = void 0; | ||
exports.publisherName = exports.webProvider = void 0; | ||
exports.webProvider = 'Microsoft.Web'; | ||
exports.publisherName = 'ms-azuretools-vscode'; | ||
//# sourceMappingURL=constants.js.map |
@@ -18,2 +18,3 @@ "use strict"; | ||
const fs = require("fs"); | ||
const constants_1 = require("../constants"); | ||
const createKuduClient_1 = require("../createKuduClient"); | ||
@@ -29,3 +30,8 @@ const localize_1 = require("../localize"); | ||
const kuduClient = yield (0, createKuduClient_1.createKuduClient)(context, site); | ||
yield kuduClient.pushDeployment.warPushDeploy(() => fs.createReadStream(fsPath), { isAsync: true }); | ||
yield kuduClient.pushDeployment.warPushDeploy(() => fs.createReadStream(fsPath), { | ||
isAsync: true, | ||
author: constants_1.publisherName, | ||
deployer: constants_1.publisherName, | ||
trackDeploymentId: true | ||
}); | ||
yield (0, waitForDeploymentToComplete_1.waitForDeploymentToComplete)(context, site); | ||
@@ -32,0 +38,0 @@ }); |
@@ -17,2 +17,3 @@ "use strict"; | ||
exports.deployZip = void 0; | ||
const constants_1 = require("../constants"); | ||
const createKuduClient_1 = require("../createKuduClient"); | ||
@@ -28,3 +29,8 @@ const delayFirstWebAppDeploy_1 = require("./delayFirstWebAppDeploy"); | ||
callback: (zipStream) => __awaiter(this, void 0, void 0, function* () { | ||
return yield kuduClient.pushDeployment.zipPushDeploy(() => zipStream, { isAsync: true, author: 'VS Code', trackDeploymentId: true }); | ||
return yield kuduClient.pushDeployment.zipPushDeploy(() => zipStream, { | ||
isAsync: true, | ||
author: constants_1.publisherName, | ||
deployer: constants_1.publisherName, | ||
trackDeploymentId: true | ||
}); | ||
}) | ||
@@ -31,0 +37,0 @@ }); |
{ | ||
"name": "@microsoft/vscode-azext-azureappservice", | ||
"author": "Microsoft Corporation", | ||
"version": "0.7.5", | ||
"version": "0.7.6", | ||
"description": "Common tools for developing Azure App Service extensions for VS Code", | ||
@@ -6,0 +6,0 @@ "tags": [ |
401783
7141