Skip to content

Commit

Permalink
fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
grant0417 committed Nov 6, 2023
1 parent 73f281d commit e047b04
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/deno/generators.ts
Original file line number Diff line number Diff line change
Expand Up @@ -666,7 +666,11 @@ export const generateTasks: Fig.Generator = {
// --- Generate installed deno scripts

export const generateInstalledDenoScripts: Fig.Generator = {
script: ["bash", "-c", "command find ~/.deno/bin -maxdepth 1 -perm -111 -type f"],
script: [
"bash",
"-c",
"command find ~/.deno/bin -maxdepth 1 -perm -111 -type f",
],
postProcess: (out) =>
out
.split("\n")
Expand Down Expand Up @@ -701,7 +705,7 @@ export const generateUrlScript: Fig.Generator = {
// There's no simple solution for pasting on Linux, it depends on
// whether you use X11 or Wayland. For Wayland on some (most?) distros,
// you would have to manually install wl-paste.
script: `pbpaste`,
script: ["pbpaste"],
postProcess: (clipboard) => {
clipboard = clipboard.trim();
if (!clipboard) {
Expand Down

0 comments on commit e047b04

Please sign in to comment.