Skip to content

Commit

Permalink
fix undefined variable (angular#53)
Browse files Browse the repository at this point in the history
Looks like this code is not executed too often but I was lucky enough to get this error.
  • Loading branch information
alexander-fenster authored and mprobst committed Jan 19, 2018
1 parent 6c7e699 commit 19ccfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function spawnClangFormat(args, done, stdio) {
nativeBinary = __dirname + '/bin/' + os.platform() + '_' + os.arch() + '/clang-format';
}
if (!fs.existsSync(nativeBinary)) {
message = 'This module doesn\'t bundle the clang-format executable for your platform. ' +
var message = 'This module doesn\'t bundle the clang-format executable for your platform. ' +
'(' + os.platform() + '_' + os.arch() + ')\n' +
'Consider installing it with your native package manager instead.\n';
setImmediate(done.bind(new Error(message)));
Expand Down

0 comments on commit 19ccfab

Please sign in to comment.