mirror of
https://github.com/fergalmoran/onearmy-community-platform.git
synced 2025-12-22 09:37:54 +00:00
chore: fix lint
This commit is contained in:
@@ -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 \
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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.
|
||||
//
|
||||
Reference in New Issue
Block a user