Skip to content

Commit

Permalink
Change privateKeyPath suggestion for Windows (issue #151)
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoofsKelvin committed Jul 3, 2019
1 parent 3d36530 commit ba79853
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webview/src/ConfigEditor/fields.tsx
Expand Up @@ -97,7 +97,7 @@ export function password(config: FileSystemConfig, onChange: FSCChanged<'passwor

export function privateKeyPath(config: FileSystemConfig, onChange: FSCChanged<'privateKeyPath'>): React.ReactElement {
const callback = (value?: string) => onChange('privateKeyPath', value);
const description = 'A path to a private key. Supports environment variables, e.g. `$HOMEDRIVE$HOMEPATH/.ssh/myKey.ppk` or `$HOME/.ssh/myKey`';
const description = 'A path to a private key. Supports environment variables, e.g. `$USERPROFILE/.ssh/myKey.ppk` or `$HOME/.ssh/myKey`';
return <FieldPath key="privateKeyPath" label="Private key" value={config.privateKeyPath} onChange={callback} optional={true} description={description} />
}

Expand Down

0 comments on commit ba79853

Please sign in to comment.