Skip to content

Commit

Permalink
Update main.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Nov 5, 2023
1 parent 813c059 commit 372ade1
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions reverse/main.ts
Original file line number Diff line number Diff line change
@@ -1,22 +1,4 @@
/*/ 2> /dev/null
set -e
deno_version='1.38.0'
case $RUNNER_ARCH in
X86) arch=ia32 ;;
X64) arch=x64 ;;
ARM) arch=arm ;;
ARM64) arch=arm64 ;;
esac
deno_install="$RUNNER_TOOL_CACHE/deno/$version/$arch"
if [ ! -d "$deno_install" ]; then
if ! o=$(curl -fsSL https://deno.land/x/install/install.sh | DENO_INSTALL="$deno_install" sh -s "v$deno_version" 2>&1); then
echo "$o" >&2
exit 1
fi
fi
exec "$deno_install/bin/deno" run -Aq "$0" "$@"
# */

// 2>/dev/null; v=1.38.0; [ -d "${i="$RUNNER_TOOL_CACHE/deno/$v/$(echo "$RUNNER_ARCH" | tr '[:upper:]' '[:lower:]')"}" ] || curl -fsSL https://deno.land/x/install/install.sh |DENO_INSTALL="$i" sh -s "v$v" >/dev/null 2>&1; exec "$i/bin/deno" run -Aq "$0" "$@"
import process from "node:process";
import { existsSync } from "node:fs";
import { readFile, writeFile, readdir, rename } from "node:fs/promises";
Expand Down

0 comments on commit 372ade1

Please sign in to comment.