Skip to content

Commit 5f2b03c

Browse files
committed
Made default source flag os agnostic
1 parent 4d97ee6 commit 5f2b03c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

main.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ import (
1515

1616
func main() {
1717
// parse all the command line flags
18-
sourcePtr := flag.String("source", "./sample-projects/sample-node-project", "The path of the JavaScript app you want to package")
18+
sourcePtr := flag.String("source", "."+string(os.PathSeparator)+"sample-projects"+string(os.PathSeparator)+"sample-node-project",
19+
"The path of the JavaScript app you want to package")
1920
targetPtr := flag.String("target", ".", "The path where you want the vc-output.zip to be stored to")
2021
testsPtr := flag.String("tests", "", "The path that contains your test files (relative to the source). Uses a heuristic to identifiy tests automatically in case no path is provided")
2122
isDebugPtr := flag.Bool("debug", false, "Bool argument which sets the log level to Debug if set to 'true'")

0 commit comments

Comments
 (0)