Skip to content

Commit 2af343c

Browse files
authored
Merge pull request #29 from pinanks/DOT-1125
DOT-1125
2 parents bfd4f35 + 87b4255 commit 2af343c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

commands/utils/dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ async function sendDoM(storybookUrl, stories, storybookConfig, options) {
5454
const form = new formData();
5555
for (const [storyId, storyInfo] of Object.entries(stories)) {
5656
const file = fs.readFileSync('doms/' + storyId + '.html');
57-
form.append('files', file, storyInfo.kind + ': ' + storyInfo.name + '.html');
57+
form.append('files', file, {filepath: storyInfo.kind + ': ' + storyInfo.name + '.html'});
5858
}
5959
form.append('resolution', storybookConfig.resolutions);
6060
form.append('browser', storybookConfig.browsers);

0 commit comments

Comments
 (0)