Skip to content

Commit

Permalink
chore: less newlines in command
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Jan 23, 2025
1 parent e05e1fc commit 4c4d1df
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions assets/js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,21 +506,21 @@ function setUrl() {
let firstLine = `sh <(curl '${base}/${appNameSafe}${installArg || ''}') \\`
let limit;

let code = `${firstLine}
&& cd ${appNameSafe}`
let code = firstLine

if (addingToApp) {
code = "mix igniter.install ash \\"
packages.unshift(" mix igniter.install ash")
limit = code.length + 20
} else {
if (packages.length !== 0) {
code = code + ` \\
&& mix igniter.install \\`
packages.unshift("&& mix igniter.install")
}

limit = Math.max(firstLine.length - 2, 45)
}

packages.unshift(`&& cd ${appNameSafe}`)

args.forEach((arg) => {
packages.push(arg)
})
Expand Down

0 comments on commit 4c4d1df

Please sign in to comment.