Skip to content

Commit efe818b

Browse files
fix bug for compiling playgrounds page
spaces in the filename and page with dependencies
1 parent 96f02fc commit efe818b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/nefc

+2-2
Original file line numberDiff line numberDiff line change
@@ -451,8 +451,8 @@ compilePlaygroundPages() {
451451
##
452452
compilePlaygroundPage() {
453453
set +e
454-
local file="$1" # parameter `file`
455-
local playgroundName="$2" # parameter `playgroundName`
454+
local file="$1" # parameter `file`
455+
local playgroundName=$(echo "$2" | sed 's/ /_/g') # parameter `playgroundName`
456456
local playgroundPage="$3" # parameter `playground`
457457
local llog="nef/log/$playgroundName-dlyb.log"
458458
local log="nef/log/$playgroundName.log"

0 commit comments

Comments
 (0)