From 3150af998abcb714db16f8fe5b6f41e81e68fbed Mon Sep 17 00:00:00 2001 From: Michael Kaye <1917473+michaelkaye@users.noreply.github.com> Date: Wed, 29 Nov 2023 13:12:40 +0000 Subject: [PATCH] ilasd --- create.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/create.js b/create.js index 43c6040..a58b640 100644 --- a/create.js +++ b/create.js @@ -18,8 +18,8 @@ async function run() { if (installer == "poetry") { // poetry requires a git checkout first await exec.exec("git", ["clone", "https://github.com/fractalnetworksco/synapse"]); - await exec.exec("git", ["checkout", "origin/rev-poetry-core"]); process.chdir("synapse"); + await exec.exec("git", ["switch", "--detach", "origin/rev-poetry-core"]); await exec.exec("python", ["-m", "pip", "install","pipx"]); await exec.exec("python", ["-m", "pipx", "ensurepath"]); await exec.exec("pipx", ["install", "poetry==1.7.1"]);