Skip to content

Commit a9c8686

Browse files
committed
style: adjust localstack aws profile
1 parent 1d06af7 commit a9c8686

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
},
8888
{
8989
"command": "localstack.configureAwsProfiles",
90-
"title": "Configure \"localstack\" AWS Profiles",
90+
"title": "Configure AWS Profile \"localstack\"",
9191
"category": "LocalStack"
9292
}
9393
],

src/plugins/setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ export default createPlugin(
220220

221221
/////////////////////////////////////////////////////////////////////
222222
progress.report({
223-
message: "Configuring AWS profiles...",
223+
message: "Configuring AWS profile...",
224224
});
225225
await minDelay(
226226
configureAwsProfiles({
@@ -232,7 +232,7 @@ export default createPlugin(
232232
void commands.executeCommand("localstack.refreshStatusBar");
233233

234234
progress.report({
235-
message: 'Finished configuring "localstack" AWS profiles.',
235+
message: 'Finished configuring the "localstack" AWS profile.',
236236
});
237237
await minDelay(Promise.resolve());
238238

src/utils/configure-aws.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ export async function configureAwsProfiles(options: {
316316
// if everything in place, show user that no changes were made and return
317317
if (options?.notifyNoChangesMade) {
318318
window.showInformationMessage(
319-
'The "localstack" AWS profiles were already present, so no changes were made.',
319+
'The "localstack" AWS profile was already present, so no changes were made.',
320320
);
321321
}
322322
options.telemetry?.track({
@@ -332,7 +332,7 @@ export async function configureAwsProfiles(options: {
332332
});
333333
return;
334334
} else {
335-
// profiles are there but need adjustment
335+
// profile is there but needs adjustment
336336
// in testing, we always override
337337
if (options?.forceOverride) {
338338
overrideDecision = "Override";
@@ -346,7 +346,7 @@ export async function configureAwsProfiles(options: {
346346
}
347347
}
348348
} else {
349-
// if any of the profiles don't exist, we need to create it
349+
// we need to create it
350350
overrideDecision = "Override";
351351
}
352352

@@ -464,7 +464,7 @@ export async function checkIsProfileConfigured(): Promise<boolean> {
464464
return false;
465465
}
466466

467-
return true; // Both profiles exist and are properly configured
467+
return true; // profile exists in both files and is properly configured
468468
} catch (error) {
469469
return false;
470470
}

0 commit comments

Comments
 (0)