We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62ce9c9 commit 20993beCopy full SHA for 20993be
src/command/utils.ts
@@ -0,0 +1,17 @@
1
+/*
2
+ * utils.ts
3
+ *
4
+ * Copyright (C) 2025 Posit Software, PBC
5
+ */
6
+
7
+let someCommandFailed = false;
8
9
+// we do this the roundabout way because there doesn't seem to be any clean way
10
+// for cliffy commands to return values? Likely a skill issue on my part
11
+export const signalCommandFailure = () => {
12
+ someCommandFailed = true;
13
+};
14
15
+export const commandFailed = () => {
16
+ return someCommandFailed;
17
0 commit comments