Skip to content

Commit

Permalink
prep for 0.7.1 release
Browse files Browse the repository at this point in the history
  • Loading branch information
Hooky committed Jan 5, 2017
1 parent ad9ad8f commit 74e3e4b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,6 @@
### 0.7.1: 04 Jan 2017
* Set exact dependency versions (Fix #85)

### 0.7.0: 04 Jan 2017 ### 0.7.0: 04 Jan 2017
* Bump js-beautify version to 1.6.8 * Bump js-beautify version to 1.6.8
* _*Note:* This changes the default settings for `"unformatted"` and adds the `"content_unformatted"` option._ * _*Note:* This changes the default settings for `"unformatted"` and adds the `"content_unformatted"` option._
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "beautify", "name": "beautify",
"displayName": "beautify", "displayName": "beautify",
"description": "Beautify code in place for VS Code", "description": "Beautify code in place for VS Code",
"version": "0.7.0", "version": "0.7.1",
"publisher": "HookyQR", "publisher": "HookyQR",
"engines": { "vscode": "^1.6.0" }, "engines": { "vscode": "^1.6.0" },
"categories": ["Other", "Languages", "Formatters"], "categories": ["Other", "Languages", "Formatters"],
Expand Down
5 changes: 3 additions & 2 deletions test/extension.test.js
Expand Up @@ -19,8 +19,7 @@ const setupConfigs = (beautify, editor) => {
fs.writeFileSync(path.join(root, '.editorconfig'), editor ? editor : ''); fs.writeFileSync(path.join(root, '.editorconfig'), editor ? editor : '');
return lag(); return lag();
}; };

const listener = vscode.window.onDidChangeActiveTextEditor(editor => {
vscode.window.onDidChangeActiveTextEditor(editor => {
if (!editor.document.test || !editor.document.test.eol) return; if (!editor.document.test || !editor.document.test.eol) return;
const doc = editor.document; const doc = editor.document;
const eol = doc.test.eol; const eol = doc.test.eol;
Expand All @@ -41,6 +40,8 @@ vscode.window.onDidChangeActiveTextEditor(editor => {
}); });
}); });


after(() => listener.dispose());

const executeWithCommand = (cmd, texteditorAction, name, eol) => vscode.workspace.openTextDocument(name) const executeWithCommand = (cmd, texteditorAction, name, eol) => vscode.workspace.openTextDocument(name)
.then(doc => new Promise(resolve => { .then(doc => new Promise(resolve => {
vscode.window.showTextDocument(doc); vscode.window.showTextDocument(doc);
Expand Down
1 change: 0 additions & 1 deletion test/issues/60/60.html

This file was deleted.

0 comments on commit 74e3e4b

Please sign in to comment.