File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -740,7 +740,11 @@ import moduleHttps from "https";
740
740
return "";
741
741
}
742
742
dict[url] = true;
743
- req = moduleHttps.request(url, function (res) {
743
+ req = moduleHttps.request(url, {
744
+ headers: {
745
+ "user-agent": "undefined"
746
+ }
747
+ }, function (res) {
744
748
console.error(
745
749
"shDirHttplinkValidate " + res.statusCode + " " + url
746
750
);
@@ -1007,9 +1011,6 @@ shGitPullrequestCleanup() {(set -e
1007
1011
shGitPullrequest () {(set -e
1008
1012
# this function will create-and-push a github-pull-commit to origin/alpha
1009
1013
node --input-type=module --eval '
1010
- import moduleAssert from "assert";
1011
- import moduleChildProcess from "child_process";
1012
- import moduleFs from "fs";
1013
1014
// init debugInline
1014
1015
(function () {
1015
1016
let consoleError = console.error;
@@ -1023,6 +1024,9 @@ import moduleFs from "fs";
1023
1024
return argList[0];
1024
1025
};
1025
1026
}());
1027
+ import moduleAssert from "assert";
1028
+ import moduleChildProcess from "child_process";
1029
+ import moduleFs from "fs";
1026
1030
(async function () {
1027
1031
let branchCheckpoint = process.argv[2] || "HEAD";
1028
1032
let branchMerge = process.argv[1] || "beta";
Original file line number Diff line number Diff line change 1
1
{
2
2
"bin" : {
3
- "jslint" : " ./ jslint.mjs"
3
+ "jslint" : " jslint.mjs"
4
4
},
5
5
"bugs" : {
6
6
"url" : " https://github.com/jslint-org/jslint/issues"
26
26
"name" : " @jslint-org/jslint" ,
27
27
"repository" : {
28
28
"type" : " git" ,
29
- "url" : " https://github.com/jslint-org/jslint.git"
29
+ "url" : " git+ https://github.com/jslint-org/jslint.git"
30
30
},
31
31
"scripts" : {
32
32
"test" : " node jslint.mjs v8_coverage_report=.artifact/coverage node test.mjs" ,
You can’t perform that action at this time.
0 commit comments