error on missing profile

This commit is contained in:
Brian Gough committed 2020-06-10 11:42:07 +01:00
1 parent 303fb03f1f
commit eb603f9f31
1 file changed
+3 -2
+3 -2
View File
@@ -87,10 +87,11 @@ if (process.env.DOCKER_RUNNER) {
JSON.parse(require('fs').readFileSync(seccompProfilePath))
)
} catch (error) {
console.log(
console.error(
error,
`could not load seccom profile from ${seccompProfilePath}`
`could not load seccomp profile from ${seccompProfilePath}`
)
process.exit(1)
}
module.exports.path.synctexBaseDir = () => '/compile'