Skip to content
4 changes: 4 additions & 0 deletions playground/ty/src/Playground.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Loading