[Erlyaws-list] exclude paths from appmod

Hi all,
The ability to exclude paths from a root appmod was introduce in the last release 1.86.
It works fine but when I play with embeded mode and try to fill myself the #sconf{} record, I got an error
in yaws_config:verify_upgrade_args functions.
I fill the appmods field with something like that where the third element of the tuple contains excluded
directories :
[{"/",myapp,
[["icons"],
["js"],
["top","static"],
["static"],
["bonjour"],
["bla"]]}],
but verify_upgrade_args always wait a tuple {X,Y} (when no excluded directories defined)
I patched this function to handle {X,Y} and {X,Y,Z} tuples .
did i miss something ?
thank you for help

Thread view

Hi all,
The ability to exclude paths from a root appmod was introduce in the last release 1.86.
It works fine but when I play with embeded mode and try to fill myself the #sconf{} record, I got an error
in yaws_config:verify_upgrade_args functions.
I fill the appmods field with something like that where the third element of the tuple contains excluded
directories :
[{"/",myapp,
[["icons"],
["js"],
["top","static"],
["static"],
["bonjour"],
["bla"]]}],
but verify_upgrade_args always wait a tuple {X,Y} (when no excluded directories defined)
I patched this function to handle {X,Y} and {X,Y,Z} tuples .
did i miss something ?
thank you for help