* update onboarding bracket to be robust * update onboarding bracket with bends * checking if asserts causing parse failure * fun fact, it was not the asserts * fix bracket loading Signed-off-by: Jess Frazelle <github@jessfraz.com> * updates Signed-off-by: Jess Frazelle <github@jessfraz.com> --------- Signed-off-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com> Co-authored-by: Jess Frazelle <github@jessfraz.com> Co-authored-by: Jess Frazelle <jessfraz@users.noreply.github.com>
17 lines
225 B
TypeScript
17 lines
225 B
TypeScript
import fs from 'fs'
|
|
import path from 'path'
|
|
|
|
export const bracket = fs.readFileSync(
|
|
path.resolve(
|
|
__dirname,
|
|
'..',
|
|
'..',
|
|
'..',
|
|
'public',
|
|
'kcl-samples',
|
|
'bracket',
|
|
'main.kcl'
|
|
),
|
|
'utf8'
|
|
)
|