chore: fix lint

This commit is contained in:
David Germain
2024-07-01 17:53:09 +02:00
committed by benfurber
parent a49e2896bf
commit 663e3af42f
3 changed files with 13 additions and 5 deletions

View File

@@ -90,7 +90,7 @@ COPY ./firestore.rules ./firestore.rules
COPY ./containerization/export.js ./export.js
COPY ./containerization/link-logs.js ./link-logs.js
COPY ./containerization/link.js ./link.js
# This folder needs to exist because otherwise
# the emulators error if the user did not mount
@@ -104,7 +104,7 @@ EXPOSE 4001 4002 4003 4004 4005 4006 4007 4008
ENV IS_EMULATED=true
CMD \
./link-logs.js & \
./link.js & \
# Do firebase emulators:start --help for details
firebase emulators:start \
--project demo-community-platform-emulated \

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env node
/*global require, console*/
const { exec } = require('child_process')
const command =
@@ -7,9 +9,13 @@ const command =
exec(command, (error, stdout, stderr) => {
if (error) {
console.error(`exec error: ${error}`)
console.error('exec error: ' + error)
return
}
console.log(`stdout: ${stdout}`)
console.error(`stderr: ${stderr}`)
if (stdout) {
console.log('stdout: ' + stdout)
}
if (stderr) {
console.error('stderr: ' + stderr)
}
})

View File

@@ -1,5 +1,7 @@
#!/usr/bin/env node
/*global require, console*/
// Continuously copy the log files into a common folder
// making it easier to export them.
//