Skip to content

Commit

Permalink
pattern-lab#5 - Corrected the Sass language
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpioli committed Oct 10, 2017
1 parent b7327b9 commit 6317724
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function pluginInit(patternlab) {
for (let j = 0; j < pluginConfig.tabsToAdd.length; j++) {
let typePrism = pluginConfig.tabsToAdd[j];
if (typePrism === 'scss') {
typePrism = 'css';
typePrism = 'sass';
}
let tabSnippetLocal = tab_frontend_snippet.replace(/<<type>>/g, pluginConfig.tabsToAdd[j]).replace(/<<typeUC>>/g, pluginConfig.tabsToAdd[j].toUpperCase()).replace(/<<typePrism>>/g, typePrism);
snippetString += tabSnippetLocal + EOL;
Expand Down

0 comments on commit 6317724

Please sign in to comment.