We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edd30d5 commit 34add8eCopy full SHA for 34add8e
packages/app/src/app/store/modules/deployment/actions.js
@@ -132,9 +132,9 @@ export async function createApiData({ props, state }) {
132
const file = contents.files[filePath];
133
134
if (!file.dir && filePath !== 'package.json') {
135
- const data = await file.async('text'); // eslint-disable-line no-await-in-loop
+ const data = await file.async('base64'); // eslint-disable-line no-await-in-loop
136
137
- apiData.files.push({ file: filePath, data });
+ apiData.files.push({ file: filePath, data, encoding: 'base64' });
138
}
139
140
0 commit comments