# assistant2: Ensure scripting tool gets disabled when switching profiles \(\#27244\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/6bced3a8348409d9439756a8e8bd6f2aa48b9707)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 6bced3a8348409d9439756a8e8bd6f2aa48b9707

Requested commit: 6bced3a8348409d9439756a8e8bd6f2aa48b9707

Commit: 6bced3a8348409d9439756a8e8bd6f2aa48b9707

Tree: d0d293238a37bbfcadd84e691bfa2fcdab9509ff

Author: Marshall Bowers

Committer: GitHub

## Message

```
assistant2: Ensure scripting tool gets disabled when switching profiles (#27244)

This PR fixes an issue where the scripting tool wasn't being disabled
when switching to a profile that did not have it enabled.

Release Notes:

- N/A
```

## Parents

- [e14ebcf26734d17ec070b6df36a46541debe5845](https://git.cafe/gitcafe/zed/commit/e14ebcf26734d17ec070b6df36a46541debe5845?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/6bced3a8348409d9439756a8e8bd6f2aa48b9707?format=markdown)
