Skip to content

Commit 8c502ab

Browse files
committed
fix: remove unnecessary pretty printing when saving file
1 parent 77a2391 commit 8c502ab

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/extensionsIntegrated/CustomSnippets/snippetsState.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ define(function (require, exports, module) {
7979
};
8080

8181
const file = FileSystem.getFileForPath(SNIPPETS_FILE_PATH);
82-
// 2 is for pretty print
83-
const jsonText = JSON.stringify(dataToSave, null, 2);
82+
const jsonText = JSON.stringify(dataToSave);
8483

8584
// true is allowBlindWrite to overwrite without checking file contents
8685
const writePromise = FileUtils.writeText(file, jsonText, true);

0 commit comments

Comments
 (0)