Skip to content

Commit e80a4b1

Browse files
committed
adjusted log info for the updateNginxConfig
1 parent 5c0281b commit e80a4b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

azure-pipeline/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,14 +111,14 @@ class ConfigUpdater {
111111
* @throws {Error} If the Nginx configuration uploading fails.
112112
*/
113113
updateNginxConfig = async () => {
114-
console.log('updateNginxConfig...')
114+
console.log('updateNginxConfig... \n\tSubscription: ', validatedEnvVar(INPUT.subscription), '\n\tResource Group: ', validatedEnvVar(INPUT.resource), '\n\tDeployment: ', validatedEnvVar(INPUT.deployment), '\n\tSource: ', validatedEnvVar(INPUT.source), '\n\tTarget: ', validatedEnvVar(INPUT.target), '\n\tRoot File: ', validatedEnvVar(INPUT.rootFile));
115115
try {
116116
const res = await updateUserConfig(
117117
this.getRequestResource(),
118118
await this.getConvertedFileObject(),
119119
await this.getRequestConfig(),
120120
);
121-
console.log('Nginx config successfully uploaded!');
121+
console.log('Nginx config uploaded successfully!');
122122
} catch (error) {
123123
taskLib.setResult(taskLib.TaskResult.Failed, error as any);
124124
throw new Error("Nginx config uploading failed!");

0 commit comments

Comments
 (0)