Merge branch 'master' into localSnippetEditor
This commit is contained in:
commit
70f86c6ebd
10 files changed
+264
-142
No files matched your search
@@ -103,6 +103,9 @@ const splitTextStyleAndMetadata = (brew)=>{
|
||||
brew.snippets = yamlSnippetsToText(yaml.load(brew.text.slice(11, index + 1))).slice(0, -1);
|
||||
brew.text = brew.text.slice(index + 6);
|
||||
}
|
||||
|
||||
// Handle old brews that still have empty strings in the tags metadata
|
||||
if(typeof brew.tags === 'string') brew.tags = brew.tags ? [brew.tags] : [];
|
||||
};
|
||||
|
||||
const printCurrentBrew = ()=>{
|
||||
|
||||
Reference in new issue
Block a user