Skip to content

Commit

Permalink
Remove npm_setup from default prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
slimslenderslacks committed Aug 15, 2024
1 parent 7d67b0c commit b60ff87
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ COPY ./functions/registry.edn ./functions/registry.edn
COPY --from=build /app/prompts.jar /app/prompts.jar

COPY prompts/docker docker
COPY prompts/npm_setup npm_setup
COPY prompts/lazy_docker lazy_docker

# Can't be shell form because we need to pass JSON as an arg
Expand Down
3 changes: 1 addition & 2 deletions src/prompts.clj
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,7 @@
"prompts" (fn []
(concat
[{:type "docker" :title "using docker in my project"}
{:type "lazy_docker" :title "using lazy-docker"}
{:type "npm_setup" :title "using npm"}]
{:type "lazy_docker" :title "using lazy-docker"}]
(->> (:prompts (git.registry/read-registry))
(map #(assoc % :saved true)))))
"register" (fn []
Expand Down

0 comments on commit b60ff87

Please sign in to comment.