[cli] Change condition to be clearer positive framing (#11317)

`status` here is guaranteed to either be `'linked'` or `'not_linked'` by this point in the code, switching the double negative to a positive condition makes it clearer.
This commit is contained in:
Erika Rowland
2024-04-02 21:39:47 -07:00
committed by GitHub
parent 73b112b1f7
commit 2fc46c0d47
2 changed files with 3 additions and 1 deletions

View File

@@ -576,7 +576,7 @@ export default async (client: Client): Promise<number> => {
nodeVersion,
};
if (status !== 'not_linked') {
if (status === 'linked') {
createArgs.projectSettings = {
...createArgs.projectSettings,
...localConfigurationOverrides,