Skip to content

Commit 074f2ce

Browse files
committed
revert: Revert write recipe
1 parent 34f8c1f commit 074f2ce

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

lisp/_prepare.el

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1475,11 +1475,7 @@ ELPA)."
14751475
(eask-with-verbosity 'debug
14761476
(eask-with-progress
14771477
(ansi-blue (format "Generating recipe for package %s... " (ansi-yellow pkg)))
1478-
(progn
1479-
(ignore-errors (make-directory github-elpa-recipes-dir t))
1480-
(with-current-buffer (find-file (expand-file-name pkg github-elpa-recipes-dir))
1481-
(insert (pp-to-string recipe))
1482-
(save-buffer)))
1478+
(write-region (pp-to-string recipe) nil (expand-file-name pkg github-elpa-recipes-dir))
14831479
(ansi-blue "done ✓")))
14841480
(setq eask-depends-on-recipe-p t))
14851481
recipe))))

0 commit comments

Comments
 (0)