-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Warn instead of crashing for bad URLs (#63)
* Warn instead of crashing for bad URLs * Combine warnings for division; error for module * Error on invalid entrypoint * Iterate based on review * Resolve remaining comments
- Loading branch information
Showing
9 changed files
with
145 additions
and
18 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<==> arguments | ||
--migrate-deps | ||
|
||
<==> input/entrypoint.scss | ||
@import "does_not_exist"; | ||
@import "does_not_exist2"; | ||
|
||
<==> log.txt | ||
WARNING - 2 dependencies could not be found. | ||
does_not_exist @entrypoint.scss:1 | ||
does_not_exist2 @entrypoint.scss:2 | ||
Nothing to migrate! |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<==> arguments | ||
--migrate-deps --verbose | ||
|
||
<==> input/entrypoint.scss | ||
@import "does_not_exist"; | ||
@import "does_not_exist2"; | ||
|
||
<==> log.txt | ||
line 1, column 9 of entrypoint.scss: WARNING - Could not find Sass file at 'does_not_exist'. | ||
, | ||
1 | @import "does_not_exist"; | ||
| ^^^^^^^^^^^^^^^^ | ||
' | ||
line 2, column 9 of entrypoint.scss: WARNING - Could not find Sass file at 'does_not_exist2'. | ||
, | ||
2 | @import "does_not_exist2"; | ||
| ^^^^^^^^^^^^^^^^^ | ||
' | ||
Nothing to migrate! |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<==> input/entrypoint.scss | ||
@import "does_not_exist"; | ||
@import "does_not_exist2"; | ||
|
||
<==> log.txt | ||
line 1, column 9 of entrypoint.scss: Error: Could not find Sass file at 'does_not_exist'. | ||
, | ||
1 | @import "does_not_exist"; | ||
| ^^^^^^^^^^^^^^^^ | ||
' | ||
Migration failed! |