提交 2b042e55 编写于 作者: M Matt Bierner

💄

上级 c2f5440e
......@@ -19,7 +19,7 @@ class ApplyRefactoringCommand implements Command {
constructor(
private readonly client: ITypeScriptServiceClient,
private formattingOptionsManager: FormattingOptionsManager
private readonly formattingOptionsManager: FormattingOptionsManager
) { }
public async execute(
......@@ -36,7 +36,6 @@ class ApplyRefactoringCommand implements Command {
refactor,
action
};
const response = await this.client.execute('getEditsForRefactor', args);
if (!response || !response.body || !response.body.edits.length) {
return false;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册