File tree 2 files changed +25
-1
lines changed
2 files changed +25
-1
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ // Use IntelliSense to learn about possible attributes.
3
+ // Hover to view descriptions of existing attributes.
4
+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5
+ "version" : " 0.2.0" ,
6
+ "configurations" : [
7
+ {
8
+ "type" : " node" ,
9
+ "request" : " attach" ,
10
+ "name" : " Attach" ,
11
+ "port" : 9229 ,
12
+ "sourceMaps" : true
13
+ },
14
+ {
15
+ "type" : " node" ,
16
+ "request" : " launch" ,
17
+ "name" : " Launch Program" ,
18
+ "program" : " ${file}"
19
+ }
20
+ ]
21
+ }
Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ export async function checkPackageJson(
17
17
}
18
18
return ;
19
19
}
20
- if ( / d o w n l o a d / . test ( dirPath ) ) {
20
+ if ( / d o w n l o a d / . test ( dirPath ) &&
21
+ dirPath !== "download" &&
22
+ dirPath !== "downloadjs" &&
23
+ dirPath !== "s3-download-stream" ) {
21
24
// Since npm won't release their banned-words list, we'll have to manually add to this list.
22
25
throw new Error ( `${ dirPath } : Contains the word 'download', which is banned by npm.` ) ;
23
26
}
You can’t perform that action at this time.
0 commit comments