Skip to content

Commit 20b854e

Browse files
committed
change the error message for onepub login in an ssh shell.
1 parent 9f27b3a commit 20b854e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/src/commands/login.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,16 +103,16 @@ class OnePubLoginCommand extends Command<int> {
103103
if (inSSH()) {
104104
throw ExitException(exitCode: -1, message: """
105105
${red('onepub login will not work from an ssh shell.')}
106-
107-
${orange('${OnePubSettings.use.onepubWebUrl}/guides/ssh')}
108-
https://docs.onepub.dev/guides/ssh
109106
110107
Instead:
111108
Exit your ssh session and run:
112109
${green('onepub export')}
113110
114111
Restart your ssh session and run:
115112
${green('onepub import --ask')}
113+
114+
See the documentation for full details and alternate techniques:
115+
${orange('${OnePubSettings.use.onepubWebUrl}/guides/ssh')}
116116
""");
117117
}
118118
}

0 commit comments

Comments
 (0)