mirror of
https://github.com/nasa/openmct.git
synced 2025-01-14 00:40:06 +00:00
fix: try something crazy
This commit is contained in:
parent
08db862a2a
commit
d421a44426
@ -22,13 +22,19 @@ let gitBranch = "error-retrieving-branch";
|
|||||||
try {
|
try {
|
||||||
gitRevision = require("child_process")
|
gitRevision = require("child_process")
|
||||||
.execSync("git rev-parse HEAD", {
|
.execSync("git rev-parse HEAD", {
|
||||||
cwd: __dirname
|
env: {
|
||||||
|
...process.env,
|
||||||
|
GIT_DIR: undefined
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.toString()
|
.toString()
|
||||||
.trim();
|
.trim();
|
||||||
gitBranch = require("child_process")
|
gitBranch = require("child_process")
|
||||||
.execSync("git rev-parse --abbrev-ref HEAD", {
|
.execSync("git rev-parse --abbrev-ref HEAD", {
|
||||||
cwd: __dirname
|
env: {
|
||||||
|
...process.env,
|
||||||
|
GIT_DIR: undefined
|
||||||
|
}
|
||||||
})
|
})
|
||||||
.toString()
|
.toString()
|
||||||
.trim();
|
.trim();
|
||||||
@ -169,7 +175,6 @@ const config = {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
stats: "errors-warnings",
|
|
||||||
performance: {
|
performance: {
|
||||||
// We should eventually consider chunking to decrease
|
// We should eventually consider chunking to decrease
|
||||||
// these values
|
// these values
|
||||||
|
@ -100,8 +100,7 @@
|
|||||||
"cov:e2e:full:publish": "codecov --disable=gcov -f ./coverage/e2e/lcov.info -F e2e-full",
|
"cov:e2e:full:publish": "codecov --disable=gcov -f ./coverage/e2e/lcov.info -F e2e-full",
|
||||||
"cov:e2e:stable:publish": "codecov --disable=gcov -f ./coverage/e2e/lcov.info -F e2e-stable",
|
"cov:e2e:stable:publish": "codecov --disable=gcov -f ./coverage/e2e/lcov.info -F e2e-stable",
|
||||||
"cov:unit:publish": "codecov --disable=gcov -f ./coverage/unit/lcov.info -F unit",
|
"cov:unit:publish": "codecov --disable=gcov -f ./coverage/unit/lcov.info -F unit",
|
||||||
"prepare": "npm run build:prod && npx tsc",
|
"prepare": "npm run build:prod && npx tsc"
|
||||||
"preinstall": "git rev-parse HEAD >> version.info; git rev-parse --abbrev-ref HEAD >> version.info"
|
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
Loading…
Reference in New Issue
Block a user