Skip to content

Commit

Permalink
use template string
Browse files Browse the repository at this point in the history
  • Loading branch information
flyerhzm committed May 7, 2024
1 parent df6ce02 commit 098e134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/renderer/renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const runGemInstall = async (gemName) => {
const binPath = rubyBinPath();
const { stderr } = await installGem({ runCommand, gemName, binPath });
if (stderr) {
showMessage(`Failed to install the ${gemName} gem. ` + stderr);
showMessage(`Failed to install the ${gemName} gem. ${stderr}`);
} else {
showMessage(`Successfully installed the ${gemName} gem.`);
}
Expand All @@ -106,7 +106,7 @@ const runNpmInstall = async (npmName) => {
const binPath = javascriptBinPath();
const { stderr } = await installNpm({ runCommand, npmName, binPath });
if (stderr) {
showMessage(`Failed to install the ${npmName} npm. ` + stderr);
showMessage(`Failed to install the ${npmName} npm. ${stderr}`);
} else {
showMessage(`Successfully installed the ${npmName} npm.`);
}
Expand Down

0 comments on commit 098e134

Please sign in to comment.