Skip to content

Commit

Permalink
Fix TypeError
Browse files Browse the repository at this point in the history
  • Loading branch information
felixSchl committed Mar 26, 2015
1 parent a3aca8c commit 908600e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion run.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ module.exports = function(pro, args, callback) {
var src = "require('" + entryPoint + "').main();\n";
temp.open({prefix: "pulp-run", suffix: ".js"}, function(err, info) {
if (err) return callback(err);
fs.write(info.fd, src, "utf-8", function(err) {
fs.write(info.fd, src, 0, "utf-8", function(err) {
if (err) return callback(err);
fs.close(info.fd, function(err) {
if (err) return callback(err);
Expand Down

0 comments on commit 908600e

Please sign in to comment.