Skip to content

Commit 2755a81

Browse files
committed
Avoid a path dependency
1 parent 64cc529 commit 2755a81

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

analysis_options.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,6 @@
1-
include: package:sass_analysis/analysis_options.yaml
1+
# We could depend on sass_analysis with a path dependency and include
2+
# package:sass_analysis/analysis_options.yaml, but path dependencies don't play
3+
# nicely with the logic we use to determine whether generated files are
4+
# out-of-date (because they cause "pub run" to modify the lockfile before it
5+
# runs the executable).
6+
include: analysis/lib/analysis_options.yaml

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ dev_dependencies:
3838
http: ">=0.11.0 <0.13.0"
3939
js: "^0.6.0"
4040
node_preamble: "^1.1.0"
41+
pedantic: "^1.0.0"
4142
pub_semver: "^1.0.0"
42-
sass_analysis: {path: analysis}
4343
source_span: "^1.5.2"
4444
stream_channel: ">=1.0.0 <3.0.0"
4545
test_descriptor: "^1.1.0"

0 commit comments

Comments
 (0)