mirror of
https://github.com/vale981/tridactyl
synced 2025-03-05 17:41:40 -05:00
Merge pull request #846 from glacambre/make_guiset_error_message_easier_to_understand
excmds.ts: Actually make guiset error message easier to understand
This commit is contained in:
commit
58dafc685a
1 changed files with 2 additions and 4 deletions
|
@ -206,10 +206,8 @@ import * as css_util from "./css_util"
|
|||
*/
|
||||
//#background
|
||||
export async function guiset_quiet(rule: string, option: string) {
|
||||
if (!rule || !option) {
|
||||
fillcmdline(":guiset requires two arguments. See `:help guiset` for more information.")
|
||||
return
|
||||
}
|
||||
if (!rule || !option)
|
||||
throw new Error(":guiset requires two arguments. See `:help guiset` for more information.")
|
||||
// Could potentially fall back to sending minimal example to clipboard if native not installed
|
||||
|
||||
// Check for native messenger and make sure we have a plausible profile directory
|
||||
|
|
Loading…
Add table
Reference in a new issue