Permalink
Browse files

prep for 0.7.1 release

1 parent ad9ad8f commit 74e3e4be43b5ab8a27fd5183b0adf4a34e636daa Hooky committed Jan 5, 2017
Showing with 7 additions and 4 deletions.
  1. +3 −0 CHANGELOG.md
  2. +1 −1 package.json
  3. +3 −2 test/extension.test.js
  4. +0 −1 test/issues/60/60.html
View
@@ -1,3 +1,6 @@
+### 0.7.1: 04 Jan 2017
+* Set exact dependency versions (Fix #85)
+
### 0.7.0: 04 Jan 2017
* Bump js-beautify version to 1.6.8
* _*Note:* This changes the default settings for `"unformatted"` and adds the `"content_unformatted"` option._
View
@@ -2,7 +2,7 @@
"name": "beautify",
"displayName": "beautify",
"description": "Beautify code in place for VS Code",
- "version": "0.7.0",
+ "version": "0.7.1",
"publisher": "HookyQR",
"engines": { "vscode": "^1.6.0" },
"categories": ["Other", "Languages", "Formatters"],
@@ -19,8 +19,7 @@ const setupConfigs = (beautify, editor) => {
fs.writeFileSync(path.join(root, '.editorconfig'), editor ? editor : '');
return lag();
};
-
-vscode.window.onDidChangeActiveTextEditor(editor => {
+const listener = vscode.window.onDidChangeActiveTextEditor(editor => {
if (!editor.document.test || !editor.document.test.eol) return;
const doc = editor.document;
const eol = doc.test.eol;
@@ -41,6 +40,8 @@ vscode.window.onDidChangeActiveTextEditor(editor => {
});
});
+after(() => listener.dispose());
+
const executeWithCommand = (cmd, texteditorAction, name, eol) => vscode.workspace.openTextDocument(name)
.then(doc => new Promise(resolve => {
vscode.window.showTextDocument(doc);
@@ -1 +0,0 @@
-<html></html>

0 comments on commit 74e3e4b

Please sign in to comment.