fix(slugbuilder): Quotes on variable causes build detect to break#23
Conversation
n0n0x
commented
Dec 10, 2020
Cryptophobia
left a comment
There was a problem hiding this comment.
Looks like build broke because of quotes missing: https://travis-ci.org/github/teamhephy/slugbuilder/builds/748734755
Can you make it pass without quotes? Can you try like this:
buildpacks=(${buildpack_root}/*)
| ## Buildpack detection | ||
|
|
||
| buildpacks=("$buildpack_root/*") | ||
| buildpacks=($buildpack_root/*) |
There was a problem hiding this comment.
Let's see if the linting will pass with this:
buildpacks=(${buildpack_root}/*)
There was a problem hiding this comment.
according to this: https://www.shellcheck.net/ it won't pass:
but we can ignore this check by adding a comment:
There was a problem hiding this comment.
Okay, perfect @n0n0x ! Can you add the comment and rerun the CI and will merge as soon as it passes! 👍
There was a problem hiding this comment.
TY @n0n0x for this fix! Just waiting for CI to pass before merging this.
Going to include this in the next release. It has been buggy for users.
There was a problem hiding this comment.
Hi @n0n0x , build failed. I think due to misspelling spellcheck instead of shellcheck of the comment. Can you please fix real quick when you can? :)
9f7392a to
c0dfaf5
Compare
| ## Buildpack detection | ||
|
|
||
| buildpacks=("$buildpack_root/*") | ||
| # spellcheck disable=SC2206 |
There was a problem hiding this comment.
should be # shellcheck disable=SC2206
There was a problem hiding this comment.
Awesome! We have a GREEN build. :)
c0dfaf5 to
e0a2ae9
Compare
|
A report came through #support in slack today that build detection in the master branch is still not working, I have not been able to confirm this myself but I wanted to note it here. I added an item to stepsize so we don't lose track of it. [stepsize] Sounds like build detection is still borked after slugbuilder#23 merged |
|
#24 has the rest of the fix |

