1/* 2 * utils.ts 3 * 4 * Copyright (C) 2025 Posit Software, PBC 5 */ 6 7let 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 11export const signalCommandFailure = () => { 12 someCommandFailed = true; 13}; 14 15export const commandFailed = () => { 16 return someCommandFailed; 17}; 18 19