Skip to content

Commit 3a811fb

Browse files
committed
Use home folder as current when running describe command for service
1 parent 4a4f7be commit 3a811fb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/openshift/service.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import { OpenShiftItem } from './openshiftItem';
77
import { OpenShiftObject, Command } from '../odo';
88
import { window } from 'vscode';
99
import { Progress } from '../util/progress';
10+
import { Platform } from '../util/platform';
1011

1112
export class Service extends OpenShiftItem {
1213

@@ -78,7 +79,7 @@ export class Service extends OpenShiftItem {
7879
if (service) {
7980
const template = await Service.getTemplate(service);
8081
if (template) {
81-
Service.odo.executeInTerminal(Command.describeService(template));
82+
Service.odo.executeInTerminal(Command.describeService(template), Platform.getUserHomePath());
8283
} else {
8384
throw Error(`Cannot get Service Type name for Service \'${service.getName()}\'`);
8485
}

0 commit comments

Comments
 (0)