mirror of
https://github.com/danog/dart-sass.git
synced 2024-11-30 04:39:03 +01:00
Disallow --update and --watch with --interactive
This commit is contained in:
parent
caef625899
commit
3362273c29
@ -116,7 +116,7 @@ class ExecutableOptions {
|
||||
|
||||
var invalidOptions = [
|
||||
'stdin', 'indented', 'load-path', 'style', 'source-map', //
|
||||
'source-map-urls', 'embed-sources', 'embed-source-map'
|
||||
'source-map-urls', 'embed-sources', 'embed-source-map', 'update', 'watch'
|
||||
];
|
||||
for (var option in invalidOptions) {
|
||||
if (_options.wasParsed(option)) {
|
||||
|
@ -18,7 +18,9 @@ void sharedTests(Future<TestProcess> runSass(Iterable<String> arguments)) {
|
||||
'--source-map',
|
||||
'--source-map-urls=absolute',
|
||||
'--embed-sources',
|
||||
'--embed-source-map'
|
||||
'--embed-source-map',
|
||||
'--update',
|
||||
'--watch'
|
||||
];
|
||||
for (var arg in invalidArgs) {
|
||||
test(arg, () async {
|
||||
|
Loading…
Reference in New Issue
Block a user