Skip to content
This repository has been archived by the owner on May 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #385 from landru29/master
Browse files Browse the repository at this point in the history
Ensure no parameter is passed to 'done' function
  • Loading branch information
landru29 authored Aug 29, 2018
2 parents 62b3c30 + f05eb0c commit 066a44a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/webfont.js
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ module.exports = function(grunt) {

// Save
var woff2FontPath = wf.getFontPath(o, 'woff2');
fs.writeFile(woff2FontPath, woffFont, done);
fs.writeFile(woff2FontPath, woffFont, function() {done();});
}

/**
Expand Down

0 comments on commit 066a44a

Please sign in to comment.