Skip to content

Commit

Permalink
fix: update shebang lines in the ts scripts (#881)
Browse files Browse the repository at this point in the history
re #880
  • Loading branch information
vplasencia authored Oct 23, 2024
1 parent 6c9ede6 commit 82cdc60
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/clean-apps.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!node_modules/.bin/ts-node
#!/usr/bin/env ts-node
import { readdirSync, rmSync } from "fs"

const folderName = "apps"
Expand Down
2 changes: 1 addition & 1 deletion scripts/clean-cli-templates.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!node_modules/.bin/ts-node
#!/usr/bin/env ts-node
import { rmSync } from "fs"

const folderName = "packages"
Expand Down
2 changes: 1 addition & 1 deletion scripts/clean-packages.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!node_modules/.bin/ts-node
#!/usr/bin/env ts-node
import { readdirSync, rmSync } from "fs"

const folderName = "packages"
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!node_modules/.bin/ts-node
#!/usr/bin/env ts-node
import compare from "semver/functions/compare"
import { execSync } from "child_process"
import contractsPkgJson from "@semaphore-protocol/contracts/package.json"
Expand Down
2 changes: 1 addition & 1 deletion scripts/remove-stable-version-field.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!node_modules/.bin/ts-node
#!/usr/bin/env ts-node
import { readFileSync, readdirSync, writeFileSync } from "node:fs"

const folderName = "packages"
Expand Down
2 changes: 1 addition & 1 deletion scripts/version.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!node_modules/.bin/ts-node
#!/usr/bin/env ts-node
import { execSync } from "child_process"

async function main() {
Expand Down

0 comments on commit 82cdc60

Please sign in to comment.