mirror of
https://github.com/danog/dart-sass.git
synced 2025-01-22 22:02:00 +01:00
Clone repos using https:// not git:// (#1597)
GitHub no longer supports the git:// protocol: https://github.blog/2021-09-01-improving-git-protocol-security-github/
This commit is contained in:
parent
720c358c06
commit
fc8b9fa3c7
@ -4,7 +4,8 @@ packages. To use it, add it as a Git dependency to your `pubspec.yaml`:
|
||||
```yaml
|
||||
dev_dependencies:
|
||||
sass_analysis:
|
||||
git: {url: git://github.com/sass/dart-sass.git, path: analysis}
|
||||
git: {url:
|
||||
https://github.com/sass/dart-sass.git, path: analysis}
|
||||
```
|
||||
|
||||
and include it in your `analysis_options.yaml`:
|
||||
|
@ -19,11 +19,11 @@ released yet. Because this package directly re-exports names from the main
|
||||
dependency_overrides:
|
||||
sass:
|
||||
git:
|
||||
url: git://github.com/sass/sass
|
||||
url: https://github.com/sass/sass
|
||||
ref: main # Replace this with a feature branch if necessary
|
||||
sass_api:
|
||||
git:
|
||||
url: git://github.com/sass/sass
|
||||
url: https://github.com/sass/sass
|
||||
ref: main # Make sure this is the same as above!
|
||||
path: pkg/sass_api
|
||||
```
|
||||
|
@ -31,7 +31,7 @@ Future<void> fetchBulma() => _getLatestRelease('jgthms/bulma');
|
||||
/// If [pattern] is passed, this will clone the latest release that matches that
|
||||
/// pattern.
|
||||
Future<void> _getLatestRelease(String slug, {Pattern? pattern}) async {
|
||||
cloneOrCheckout('git://github.com/$slug',
|
||||
cloneOrCheckout('https://github.com/$slug',
|
||||
await _findLatestRelease(slug, pattern: pattern));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user