Disallow --update and --watch with --interactive

This commit is contained in:
Natalie Weizenbaum 2018-06-04 14:44:00 -04:00
parent caef625899
commit 3362273c29
2 changed files with 4 additions and 2 deletions

View File

@ -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)) {

View File

@ -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 {