Skip to content

Commit a94d78e

Browse files
authored
Merge pull request #2964 from iclanton/ianc/fix-error-message
[rush] Fix an error message.
2 parents 45ae196 + 1c7dc3a commit a94d78e

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

apps/rush-lib/src/logic/buildCache/AmazonS3/AmazonS3BuildCacheProvider.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,9 @@ export class AmazonS3BuildCacheProvider extends CloudBuildCacheProviderBase {
141141
public async updateCachedCredentialInteractiveAsync(terminal: ITerminal): Promise<void> {
142142
throw new Error(
143143
'The interactive cloud credentials flow is not supported for Amazon S3.\n' +
144-
'Install and authenticate with aws-cli, or provide your credentials to rush using the --credential flag instead.'
144+
'Provide your credentials to rush using the --credential flag instead. Credentials must be ' +
145+
'in the form of <ACCESS KEY ID>:<SECRET ACCESS KEY> or ' +
146+
'<ACCESS KEY ID>:<SECRET ACCESS KEY>:<SESSION TOKEN>.'
145147
);
146148
}
147149

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"changes": [
3+
{
4+
"packageName": "@microsoft/rush",
5+
"comment": "Fix the error message printed when `--interactive` is passed to `rush update-cloud-credentials` and the cloud cache provider is Amazon S3.",
6+
"type": "none"
7+
}
8+
],
9+
"packageName": "@microsoft/rush"
10+
}

0 commit comments

Comments
 (0)