Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore css files in the validator source map check #95

Merged
merged 1 commit into from
Mar 7, 2023

Conversation

academo
Copy link
Member

@academo academo commented Mar 7, 2023

No description provided.

@academo academo requested a review from xnyo March 7, 2023 16:26
@academo academo self-assigned this Mar 7, 2023
@academo academo added bug Something isn't working enhancement New feature or request and removed enhancement New feature or request labels Mar 7, 2023
@@ -56,7 +56,7 @@ func sourceCodeUriToLocalPath(sourceCodeUri string) (string, func(), error) {
// if it is an url to a git repo, clone it
if (len(sourceCodeUri) > 4 && sourceCodeUri[:4] == "http") || (len(sourceCodeUri) > 3 && sourceCodeUri[:3] == "git") {
fmt.Println(":: URL found. Trying to clone repository...")
sourceCodePath, cleanup, err = repotool.CloneToTempDir(sourceCodeUri, "")
sourceCodePath, cleanup, err = repotool.GitUrlToLocalPath(sourceCodeUri)
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This method allows you to pass refs in the url instead of only the plain git url.

@academo academo merged commit cd0df5d into main Mar 7, 2023
@academo academo deleted the academo/ignore-css-files branch March 7, 2023 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants