summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/publish/invalid_path.out
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-01-24 22:24:52 +0100
committerGitHub <noreply@github.com>2024-01-24 21:24:52 +0000
commit52ad1ef154d352529c4ad4857ab82d8478aeb105 (patch)
treed124302669a06af03af41c3c30be1ba711c15793 /cli/tests/testdata/publish/invalid_path.out
parentfc176c4dea7463d587a1e921780cce55552e0c86 (diff)
feat(publish): give diagnostic on invalid package files (#22082)
Diffstat (limited to 'cli/tests/testdata/publish/invalid_path.out')
-rw-r--r--cli/tests/testdata/publish/invalid_path.out11
1 files changed, 11 insertions, 0 deletions
diff --git a/cli/tests/testdata/publish/invalid_path.out b/cli/tests/testdata/publish/invalid_path.out
new file mode 100644
index 000000000..cd3e92e0c
--- /dev/null
+++ b/cli/tests/testdata/publish/invalid_path.out
@@ -0,0 +1,11 @@
+Checking fast check type graph for errors...
+Ensuring type checks...
+Check file://[WILDCARD]mod.ts
+error[invalid-path]: package path must not contain whitespace (found ' ')
+ --> [WILDCARD]path with spaces.txt
+ = hint: rename or remove the file, or add it to 'publish.exclude' in the config file
+
+ info: to portably support all platforms, including windows, the allowed characters in package paths are limited
+ docs: https://jsr.io/go/invalid-path
+
+error: Found 1 problem