Skip to content

Commit 2671823

Browse files
committed
fix server instructions, bump version
1 parent e8e5ffe commit 2671823

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "git-credential-forwarder",
3-
"version": "1.0.0",
3+
"version": "1.0.1",
44
"description": "utilities for forwarding git credential helper commands to another git installation (e.g. container to host)",
55
"main": "dist/index.js",
66
"scripts": {

src/server/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ if (serverType === "tcp" && portEnv) {
8787
case "tcp":
8888
appOutput(`Starting TCP server listening on ${deps.host}:${deps.port}`)
8989
instructions(`Run the following command in your docker container:\n`)
90-
instructions(
90+
configOutput(
9191
` export ${EnvKey.SERVER}="${
9292
deps.host === LOCALHOST ? DOCKER_HOST_IP : deps.host
9393
}:${deps.port}"\n`
@@ -98,7 +98,7 @@ if (serverType === "tcp" && portEnv) {
9898
`Edit your git configuration file inside your docker container to call the git-credential-forwarder client script, for example:\n`
9999
)
100100
configOutput(` [credential]`)
101-
configOutput(` helper = "!f() { node ~/gcf-client.js $*; }; f"`)
101+
configOutput(` helper = "!f() { node ~/gcf-client.js $*; }; f"\n`)
102102

103103
try {
104104
await credentialReceiver()

0 commit comments

Comments
 (0)