Skip to content

Commit

Permalink
Merge 3d42040 into df017d1
Browse files Browse the repository at this point in the history
  • Loading branch information
dword-design committed Dec 25, 2019
2 parents df017d1 + 3d42040 commit da06800
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion jsontosass.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ var JsonToSass = function () {
nestLevel--;
break;
default:
if (key.match(/^[0-9]+$/)) {
if (Array.isArray(obj)) {
map.push(obj[key]);
} else {
map.push(key + createColon() + obj[key]);
Expand Down
2 changes: 1 addition & 1 deletion test/jsontosass.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ var jsontosass = require('../jsontosass.js');
function removeFiles () {
glob('test/*.s[ac]ss', function (er, files) {
files.forEach(function (file) {
fs.unlink(file);
fs.unlinkSync(file);
});
});
}
Expand Down

0 comments on commit da06800

Please sign in to comment.