mirror of
https://github.com/nasa/openmct.git
synced 2024-12-26 16:21: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 {
|
||||
gitRevision = require("child_process")
|
||||
.execSync("git rev-parse HEAD", {
|
||||
cwd: __dirname
|
||||
env: {
|
||||
...process.env,
|
||||
GIT_DIR: undefined
|
||||
}
|
||||
})
|
||||
.toString()
|
||||
.trim();
|
||||
gitBranch = require("child_process")
|
||||
gitBranch = require("child_process")
|
||||
.execSync("git rev-parse --abbrev-ref HEAD", {
|
||||
cwd: __dirname
|
||||
env: {
|
||||
...process.env,
|
||||
GIT_DIR: undefined
|
||||
}
|
||||
})
|
||||
.toString()
|
||||
.trim();
|
||||
@ -169,7 +175,6 @@ const config = {
|
||||
}
|
||||
]
|
||||
},
|
||||
stats: "errors-warnings",
|
||||
performance: {
|
||||
// We should eventually consider chunking to decrease
|
||||
// these values
|
||||
|
@ -100,8 +100,7 @@
|
||||
"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:unit:publish": "codecov --disable=gcov -f ./coverage/unit/lcov.info -F unit",
|
||||
"prepare": "npm run build:prod && npx tsc",
|
||||
"preinstall": "git rev-parse HEAD >> version.info; git rev-parse --abbrev-ref HEAD >> version.info"
|
||||
"prepare": "npm run build:prod && npx tsc"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
Reference in New Issue
Block a user