Skip to content

Commit

Permalink
The original platforms file would contain "\n" at the end
Browse files Browse the repository at this point in the history
  • Loading branch information
apendua committed Dec 27, 2015
1 parent 93c12cc commit 70dad52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/meteor/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ function BuildPromise(options) {
var platformsBackupPath = path.join(pathToApp,'.meteor','platforms.gagarin.backup');

fs.rename(platformsFilePath,platformsBackupPath,function(err,data){
fs.writeFile(platformsFilePath,'server\nbrowser',function(){
fs.writeFile(platformsFilePath,'server\nbrowser\n',function(){
spawnMeteorProcess();
});
});
Expand Down

0 comments on commit 70dad52

Please sign in to comment.