Skip to content
This repository was archived by the owner on Sep 3, 2021. It is now read-only.

Commit 125df52

Browse files
committed
Final changes for release
Fixed engine version Fixed conversion to yaml file
1 parent ec472a9 commit 125df52

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"publisher": "Togusa09",
77
"license": "MIT",
88
"engines": {
9-
"vscode": "^0.11.x"
9+
"vscode": "^1.0.0"
1010
},
1111
"repository": {
1212
"type": "git",

src/extension.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,8 @@ class FileConverter{
129129
if (destinationLanguage === "xml" || destinationLanguage === "tmlanguage"){
130130
edit.insert(new vscode.Position(0, 0), plist.build(parsed));
131131
}
132-
if (sourceLanguage === "yaml" || sourceLanguage == "yaml-tmlanguage"){
133-
edit.insert(new vscode.Position(0, 0), YAML.stringify(parsed))
132+
if (destinationLanguage === "yaml" || destinationLanguage == "yaml-tmlanguage"){
133+
edit.insert(new vscode.Position(0, 0), YAML.stringify(parsed, 6))
134134
}
135135
});
136136
});

0 commit comments

Comments
 (0)