Skip to content

Commit

Permalink
Fix filename prefix issue (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
tustin2121 authored Jul 30, 2020
1 parent 965e38a commit bb6aa6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/svgmin.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ module.exports = grunt => {
const sourcePath = element.src[0];
const sourceSvg = grunt.file.read(sourcePath);

const result = await svgo.optimize(sourceSvg, {srcPath: sourcePath});
const result = await svgo.optimize(sourceSvg, {path: sourcePath});
if (result.error) {
grunt.warn(`${sourcePath}: ${result.error}`);
return;
Expand Down

0 comments on commit bb6aa6d

Please sign in to comment.