mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-07 07:21:17 +08:00
CLI: Fix option parsing in run_tests
This commit is contained in:
parent
07cc1f6852
commit
fe64917edc
@ -17,7 +17,7 @@ story_format='csf'
|
|||||||
# parse command-line options
|
# parse command-line options
|
||||||
# '-f' sets fixtures directory
|
# '-f' sets fixtures directory
|
||||||
# '-s' sets story format to use
|
# '-s' sets story format to use
|
||||||
while getopts ":fs:" opt; do
|
while getopts ":f:s:" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
f)
|
f)
|
||||||
fixtures_dir=$OPTARG
|
fixtures_dir=$OPTARG
|
||||||
|
Loading…
x
Reference in New Issue
Block a user