File tree 6 files changed +18
-5
lines changed
6 files changed +18
-5
lines changed Original file line number Diff line number Diff line change
1
+ paths :
2
+ - .github
3
+ - docs
4
+ - examples
5
+ - man
6
+ - src
7
+ - scripts
8
+ - test
9
+ - test-d
10
+ paths-ignore :
11
+ - build
Original file line number Diff line number Diff line change 39
39
- name : Initialize CodeQL
40
40
uses : github/codeql-action/init@v3
41
41
with :
42
+ config-file : ./.github/codeql/codeql-config.yml
42
43
languages : ${{ matrix.language }}
43
44
build-mode : ${{ matrix.build-mode }}
44
45
Original file line number Diff line number Diff line change 5
5
reports /
6
6
docs /.vitepress /cache /
7
7
yarn.lock
8
+ pnpm-lock.yaml
8
9
temp
Original file line number Diff line number Diff line change 30
30
{
31
31
"name" : " all" ,
32
32
"path" : " build/*" ,
33
- "limit" : " 851 kB" ,
33
+ "limit" : " 851.1 kB" ,
34
34
"brotli" : false ,
35
35
"gzip" : false
36
36
}
Original file line number Diff line number Diff line change @@ -128,10 +128,10 @@ async function runScript(
128
128
scriptPath : string ,
129
129
tempPath : string
130
130
) : Promise < void > {
131
- let nm = ''
131
+ let nmLink = ''
132
132
const rmTemp = ( ) => {
133
133
fs . rmSync ( tempPath , { force : true , recursive : true } )
134
- nm && fs . rmSync ( nm , { force : true , recursive : true } )
134
+ nmLink && fs . rmSync ( nmLink , { force : true , recursive : true } )
135
135
}
136
136
try {
137
137
if ( tempPath ) {
@@ -140,7 +140,7 @@ async function runScript(
140
140
}
141
141
const cwd = path . dirname ( scriptPath )
142
142
if ( typeof argv . preferLocal === 'string' ) {
143
- nm = linkNodeModules ( cwd , argv . preferLocal )
143
+ nmLink = linkNodeModules ( cwd , argv . preferLocal )
144
144
}
145
145
if ( argv . install ) {
146
146
await installDeps ( parseDeps ( script ) , cwd , argv . registry )
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ global.AbortController = global.AbortController || AbortController
36
36
37
37
export const createRequire = _createRequire as unknown as (
38
38
filename : string | URL
39
- ) => NodeRequire
39
+ ) => NodeJS . Require
40
40
41
41
export const globbyModule = {
42
42
convertPathToPattern,
You can’t perform that action at this time.
0 commit comments