Skip to content

Commit 981e694

Browse files
committed
fix: update nuts
1 parent 477e543 commit 981e694

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/commands/org/open.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,6 @@ const generateFileUrl = async (file: string, org: Org): Promise<string> => {
9898
) {
9999
throw error;
100100
}
101-
throw new Error(`Unable to generate metadata URL for file: ${file}`);
101+
return '';
102102
}
103103
};

test/nut/listAndDisplay.nut.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ describe('Org Command NUT', () => {
213213
expect(result).to.include({ orgId: aliasUserOrgId, username: aliasedUsername });
214214
expect(result)
215215
.to.property('url')
216-
.to.include(`retURL=${encodeURIComponent(decodeURIComponent('foo/bar/baz'))}`);
216+
.to.include(`startURL=${encodeURIComponent(decodeURIComponent('foo/bar/baz'))}`);
217217
});
218218
});
219219
});

0 commit comments

Comments
 (0)