Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Fix the executable name so ".exe" doesn't end up in the install warning #463

Merged
merged 1 commit into from
Sep 15, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/goFormat.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export class Formatter {
cp.execFile(formatCommandBinPath, [...formatFlags, filename], {}, (err, stdout, stderr) => {
try {
if (err && (<any>err).code === 'ENOENT') {
promptForMissingTool(formatCommandBinPath);
promptForMissingTool(this.formatCommand);
return resolve(null);
}
if (err) return reject('Cannot format due to syntax errors.');
Expand Down