Fix approve command with custom fileNameFormatter#532
Fix approve command with custom fileNameFormatter#532d8corp wants to merge 1 commit intooblador:masterfrom
Conversation
|
Hey, thanks for this! I tried out the changes locally and it seems to work. However, other folders within the reference folder is getting deleted. Here's my module.exports = {
configurations: {
'ios.iphone16': {
target: 'ios.simulator',
},
'android.pixel6a': {
target: 'android.emulator',
},
},
fileNameFormatter: ({ configurationName, kind, story, parameters }) =>
`${configurationName}/${kind}_${story}`,
};Running
If I make some changes such that running UPDATE: It seems like this behavior is unrelated to the changes in this PR. The "issue" is caused by this block of existing code; In the case of the UPDATE 2: I'm able to workaround this "issue" by specifying the output and reference dirs; UPDATE 3: Specifying the dirs every time is a bit cumbersome. So, I added a new required cli arg The command I'm using is now Here's the code I'm using in case others want to use them; code.txt The code changes I made are rudimentary. Nothing fancy or proper. Just something that works for my setup. Ideally, the approve script would work without having to specify additional args such as the |
No description provided.