diff options
| author | David Sherret <dsherret@users.noreply.github.com> | 2024-08-20 16:32:01 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-20 16:32:01 -0400 |
| commit | 37279e0b0a4300318da472bf0a8bdb894746537f (patch) | |
| tree | fffc0425e931f70e8297456ddbf7b106fb72e9e9 /tests/specs/add/error_import_map_field/deno.json | |
| parent | a7c002ae634b20a2f84c90417327a88c9ac2df99 (diff) | |
fix(add): error when config file contains importMap field (#25115)
The "imports" field has higher precedence than "importMap", so we should
error when `deno add` goes to add an `"imports"` field.
Closes https://github.com/denoland/deno/issues/24264
Closes https://github.com/denoland/deno/pull/24478
Diffstat (limited to 'tests/specs/add/error_import_map_field/deno.json')
| -rw-r--r-- | tests/specs/add/error_import_map_field/deno.json | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/specs/add/error_import_map_field/deno.json b/tests/specs/add/error_import_map_field/deno.json new file mode 100644 index 000000000..12a79304f --- /dev/null +++ b/tests/specs/add/error_import_map_field/deno.json @@ -0,0 +1,3 @@ +{ + "importMap": "./import_map.json" +} |
