diff options
author | Asher Gomez <ashersaupingomez@gmail.com> | 2024-09-03 17:00:57 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-03 17:00:57 +1000 |
commit | 5f08d634f73fab21c17cc02f3f3bf8e8b531eee8 (patch) | |
tree | e105697d4ecb23cad491a04af878bc44edfa66a1 /tests/specs | |
parent | 2533d68cabb5a38be891a9807c452ca802401d46 (diff) |
BREAKING: remove `deno vendor` (#25343)
Diffstat (limited to 'tests/specs')
-rw-r--r-- | tests/specs/vendor/removed/__test__.jsonc | 13 | ||||
-rw-r--r-- | tests/specs/vendor/removed/vendor.out | 3 | ||||
-rw-r--r-- | tests/specs/vendor/removed/vendor_help.out | 10 |
3 files changed, 26 insertions, 0 deletions
diff --git a/tests/specs/vendor/removed/__test__.jsonc b/tests/specs/vendor/removed/__test__.jsonc new file mode 100644 index 000000000..abbcfe465 --- /dev/null +++ b/tests/specs/vendor/removed/__test__.jsonc @@ -0,0 +1,13 @@ +{ + "steps": [ + { + "args": "vendor", + "output": "vendor.out", + "exitCode": 1 + }, + { + "args": "vendor --help", + "output": "vendor_help.out" + } + ] +} diff --git a/tests/specs/vendor/removed/vendor.out b/tests/specs/vendor/removed/vendor.out new file mode 100644 index 000000000..ee7e9ca55 --- /dev/null +++ b/tests/specs/vendor/removed/vendor.out @@ -0,0 +1,3 @@ +error: ⚠️ `deno vendor` was removed in Deno 2. + +See the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations diff --git a/tests/specs/vendor/removed/vendor_help.out b/tests/specs/vendor/removed/vendor_help.out new file mode 100644 index 000000000..176b2211a --- /dev/null +++ b/tests/specs/vendor/removed/vendor_help.out @@ -0,0 +1,10 @@ +⚠️ `deno vendor` was removed in Deno 2. + +See the Deno 1.x to 2.x Migration Guide for migration instructions: https://docs.deno.com/runtime/manual/advanced/migrate_deprecations + +Usage: deno vendor [OPTIONS] + +Options: + -q, --quiet Suppress diagnostic output + --unstable Enable all unstable features and APIs. Instead of using this flag, consider enabling individual unstable features + To view the list of individual unstable feature flags, run this command again with --help=unstable |