提交 f02cb7dd 编写于 作者: I isidor

use basename

上级 688103d9
...@@ -249,7 +249,7 @@ CommandsRegistry.registerCommand({ ...@@ -249,7 +249,7 @@ CommandsRegistry.registerCommand({
if (resources.length) { if (resources.length) {
return textFileService.revertAll(resources, { force: true }).then(null, error => { return textFileService.revertAll(resources, { force: true }).then(null, error => {
notificationService.error(nls.localize('genericRevertError', "Failed to revert '{0}': {1}", resources.map(r => r.fsPath).join(', '), toErrorMessage(error, false))); notificationService.error(nls.localize('genericRevertError', "Failed to revert '{0}': {1}", resources.map(r => basename(r.fsPath)).join(', '), toErrorMessage(error, false)));
}); });
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册