We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom hooks are documented to must have the name of the collection (e.g. for a collection weapons, the hook filename is weapons.js)
weapons
weapons.js
Looking into firestore2json.js, the filename being looked into has a suffix of "_processDocument.js")
firestore2json.js
"_processDocument.js"
var processDocument; if (fs.existsSync("./".concat(args[0], "_processDocument.js"))) { // read file to string processDocument = require("./".concat(args[0], "_processDocument.js")); // processDocument = fs.readFileSync(`./${args[0]}_processDocument.js`, 'utf8'); }
The Typescript counterpart does not require this suffix:
let processDocument; if (fs.existsSync(`./${args[0]}.js`)) { // read file to string processDocument = require(`./${args[0]}.js`); }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Bug report
Describe the bug
Custom hooks are documented to must have the name of the collection (e.g. for a collection
weapons
, the hook filename isweapons.js
)Looking into
firestore2json.js
, the filename being looked into has a suffix of"_processDocument.js"
)The Typescript counterpart does not require this suffix:
The text was updated successfully, but these errors were encountered: