Skip to content

Commit e968930

Browse files
authored
Remove \#!/usr/bin/env node from scripts (#55304)
1 parent 9418dca commit e968930

File tree

75 files changed

+4
-129
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+4
-129
lines changed

src/archives/scripts/warmup-remotejson.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
// [start-readme]
42
//
53
// This calls a function directly that is used by our archived enterprise

src/article-api/scripts/precompute-pageinfo.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
/**
42
* This script gathers all English pages, computes each page's
53
* 'title', 'intro' and 'product' properties. These things are then stored

src/assets/scripts/deleted-assets-pr-comment-1.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
// [start-readme]
42
//
53
// For testing the GitHub Action that executes

src/assets/scripts/deleted-assets-pr-comment.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
import * as github from '@actions/github'
42
import core from '@actions/core'
53

src/assets/scripts/find-orphaned-assets.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
// [start-readme]
42
//
53
// Print a list of all the asset files that can't be found mentioned

src/assets/scripts/list-image-sizes.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
// [start-readme]
42
//
53
// This script lists all local image files, sorted by their dimensions.

src/assets/scripts/validate-asset-images.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
// [start-readme]
42
//
53
// Makes sure that all the image assets in `assets/` are safe.

src/audit-logs/scripts/sync.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
/**
42
* Required env variables:
53
*

src/code-scanning/scripts/generate-code-scanning-query-list.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
/**
42
* This script generates a block of Markdown that can be saved as a reusable.
53
* The reusable lists all the queries for one programming language, with CWEs, as a Markdown table.

src/codeql-cli/scripts/sync.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#!/usr/bin/env node
2-
31
import { readFile, writeFile, copyFile } from 'fs/promises'
42
import { existsSync } from 'fs'
53
import walk from 'walk-sync'

0 commit comments

Comments
 (0)