diff --git a/playground/ty/src/Playground.tsx b/playground/ty/src/Playground.tsx index 5ace4b9134..1391ee548f 100644 --- a/playground/ty/src/Playground.tsx +++ b/playground/ty/src/Playground.tsx @@ -100,6 +100,10 @@ export default function Playground() { setError("File names cannot start with '/'."); return; } + if (newName.startsWith("vendored:")) { + setError("File names cannot start with 'vendored:'."); + return; + } const handle = files.handles[file]; let newHandle: FileHandle | null = null;