Skip to content

Commit a2f31be

Browse files
committed
fix: s config get access error message
Signed-off-by: Zone Tome <1018995004@qq.com>
1 parent 9bd8c64 commit a2f31be

File tree

1 file changed

+4
-3
lines changed
  • src/command/config/command

1 file changed

+4
-3
lines changed

src/command/config/command/get.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ export default (program: Command) => {
4848
} catch (error) {
4949
if (error.message.includes('Not found access')) {
5050
const msg = `
51-
You have not yet been found to have configured key information.
52-
You can use [s config add] for key configuration, or use [s config add -h] to view configuration help.
53-
If you have questions, please tell us: ${chalk.underline('https://github.com/Serverless-Devs/Serverless-Devs/issues')}`;
51+
You have not yet been found to have configured key information.
52+
You can use [s config add] for key configuration, or use [s config add -h] to view configuration help.
53+
If you already used [s config add], please check the permission of file [{HOMEPATH}/.s/access.yaml].
54+
If you have questions, please tell us: ${chalk.underline('https://github.com/Serverless-Devs/Serverless-Devs/issues')}`;
5455
logger.write(msg);
5556
return;
5657
}

0 commit comments

Comments
 (0)