diff --git a/src/extension.ts b/src/extension.ts index e9260685d0..fd779a8bc2 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -255,7 +255,7 @@ export async function activate(context: vscode.ExtensionContext): Promise changeFileType(node, true, ussFileProvider)); vscode.commands.registerCommand("zowe.uss.text", async (node: IZoweUSSTreeNode) => changeFileType(node, false, ussFileProvider)); vscode.commands.registerCommand("zowe.uss.renameNode", async (node: IZoweUSSTreeNode) => - node.renameUSSNode(ussFileProvider, node.getUSSDocumentFilePath())); + ussActions.renameUSSNode(node, ussFileProvider, node.getUSSDocumentFilePath())); vscode.commands.registerCommand("zowe.uss.uploadDialog", async (node: IZoweUSSTreeNode) => ussActions.uploadDialog(node, ussFileProvider)); vscode.commands.registerCommand("zowe.uss.createNode", async (node: IZoweUSSTreeNode) => ussActions.createUSSNodeDialog(node, ussFileProvider));