You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 2, 2021. It is now read-only.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
results an Array that can contain nothing. The nothing element should be filtered out instead. It works about replacing them with:
The change in this PR should make sure the type is Vector{String} instead of Vector{Union{Nothing, String}} in the same way it is for the system image function.
One more thing, if any of the files listed is missing the error would be raised inside the array comprehension.
Perhaps it is better to explicitly check for the existence of nothing and warn its implication (e.g. one of the files do not exist) to the user?
thanks! good catch, I think it should instead return a String[] if no file is specified instead of adding type assertions? we don't have any type inference problem here
seems there is an issue while building the app against the latest nightly build (segfault...). @Roger-luo Maybe the build test should be limited to the latest release for now?
No problem!
Seems that the CI still shows the failed state - I was not able to get my head around GitHub action 😂 I will leave that to you 😏
Maybe worth making a bug fix release?
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
None yet
2 participants
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is a great package for building CLI tools!
But, I have received this error when building an application (on Julia 1.6.1):
I think the problem is that the following lines:
ComoniconBuilder.jl/src/build.jl
Lines 56 to 58 in 22e532e
results an Array that can contain
nothing
. Thenothing
element should be filtered out instead. It works about replacing them with:The change in this PR should make sure the type is
Vector{String}
instead ofVector{Union{Nothing, String}}
in the same way it is for the system image function.One more thing, if any of the files listed is missing the error would be raised inside the array comprehension.
Perhaps it is better to explicitly check for the existence of nothing and warn its implication (e.g. one of the files do not exist) to the user?