Skip to content
This repository has been archived by the owner on Sep 12, 2019. It is now read-only.

Commit

Permalink
Update detect-server.js
Browse files Browse the repository at this point in the history
  • Loading branch information
swyxio authored May 3, 2019
1 parent 8e108a3 commit 3760e23
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/detect-server.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,10 @@ module.exports.serverSettings = async devConfig => {
settings.command || null,
tellUser("command")
); // if settings.command is empty, its bc no settings matched
let devConfigArgs = devConfig.command.split(/\s/).slice(1);
if (devConfigArgs[0] === "run") devConfigArgs = devConfigArgs.slice(1);
settings.args = assignLoudly(
devConfig.command.split(/\s/).slice(1),
devConfigArgs,
settings.command || null,
tellUser("command")
); // if settings.command is empty, its bc no settings matched
Expand Down

0 comments on commit 3760e23

Please sign in to comment.