Skip to content

Commit

Permalink
Release 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
jathak committed Jan 16, 2020
1 parent b0e456e commit f3749ab
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,14 @@
## 1.1.1

### Module Migrator

* When using `--forward=import-only`, `@forward` rules in an import-only file
are now sorted with the regular file last, allowing variables in indirect
dependencies to be configured.

* Fixes a bug where some references weren't renamed if a variable is declared
twice when using `--remove-prefix`.

## 1.1.0

* Add support for glob inputs on the command line.
Expand Down
2 changes: 1 addition & 1 deletion lib/src/migrators/module.dart
Expand Up @@ -296,7 +296,7 @@ class _ModuleMigrationVisitor extends MigrationVisitor {
_absoluteUrlToDependency(entry.key, relativeTo: importOnlyUrl)
.item1,
entry.value)
];//..sort((a, b) => a.item2.compareTo(b.item2));
];
var forwardLines = [
for (var tuple in tuples)
..._forwardRulesForShown(tuple.item1, tuple.item2, tuple.item3,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
@@ -1,5 +1,5 @@
name: sass_migrator
version: 1.1.0
version: 1.1.1
description: A tool for running migrations on Sass files
author: Jennifer Thakar <jathak@google.com>
homepage: https://github.com/sass/migrator
Expand Down

0 comments on commit f3749ab

Please sign in to comment.