Skip to content

Commit

Permalink
#104 - refactoring for svgDir
Browse files Browse the repository at this point in the history
  • Loading branch information
anton-marchenko committed Dec 17, 2018
1 parent c34a742 commit 47359fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion makesvg.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ mkdirp('./dist/svg', (mkdirpErr) => {
if (mkdirpErr) {
console.error(mkdirpErr);
} else {
fs.readdir('./src/svg', (err, dirs) => {
fs.readdir(svgDir, (err, dirs) => {
dirs.forEach(dir => {
getFileList(dir);
});
Expand Down

0 comments on commit 47359fa

Please sign in to comment.