Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tmeasday committed Aug 28, 2023
1 parent 138a2df commit 1f7b002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ async function serverChannel(
} catch (err) {
console.warn(`Failed to update your main configuration:\n\n ${err}`);
channel.emit(PROJECT_UPDATING_FAILED, {
mainPath: basename(mainPath),
mainPath: mainPath && basename(mainPath),
configDir: relativeConfigDir,
} satisfies ProjectUpdatingFailedPayload);
}
Expand Down

0 comments on commit 1f7b002

Please sign in to comment.