Skip to content

Commit

Permalink
Add more logging to upload-forms
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Oct 12, 2017
1 parent 46e9c73 commit 74c5678
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/upload-forms.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ module.exports = (projectDir, couchUrl, subDirectory, options) => {
.filter(name => name.endsWith('.xml'))
.filter(name => !options.forms || options.forms.includes(fs.withoutExtension(name)))
.reduce((promiseChain, fileName) => {
info(`Preparing form for upload: ${fileName}…`);

const baseFileName = fs.withoutExtension(fileName);
const mediaDir = `${formsDir}/${baseFileName}-media`;
const xformPath = `${formsDir}/${baseFileName}.xml`;
Expand Down

0 comments on commit 74c5678

Please sign in to comment.