Skip to content

Commit 533e25c

Browse files
committed
Add getSolutionWithPreloaded
1 parent 42c4637 commit 533e25c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

workspace/lc-test.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ export const getSolution = () => read("./solution.lc");
1212

1313
/** Return the contents of the optional preloaded file */
1414
export const getPreloaded = () => read("./preloaded.lc");
15+
16+
/** Return the contents of the preloaded file and the solution file combined */
17+
export const getSolutionWithPreloaded = () => getPreloaded() + "\n" + getSolution();

0 commit comments

Comments
 (0)