Skip to content

Commit

Permalink
[node] Add .cjs extension to node file suggestions (#2265)
Browse files Browse the repository at this point in the history
  • Loading branch information
yaronuliel authored Feb 7, 2024
1 parent a04de6a commit c47cfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/node.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const completionSpec: Fig.Subcommand = {
name: "node script",
isScript: true,
generators: filepaths({
extensions: ["mjs", "js"],
extensions: ["mjs", "js", "cjs"],
editFileSuggestions: { priority: 76 },
}),
},
Expand Down

0 comments on commit c47cfab

Please sign in to comment.