Skip to content

Commit 591f0c6

Browse files
author
Danny McCormick
authored
Fix individual sample execution (#284)
* Clean up samples * Keep errors * Handle case where there are less than 4 args * Feedback
1 parent e283ceb commit 591f0c6

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

make.js

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,12 @@ target.samples = function() {
6767
run('tsc -p samples');
6868

6969
pushd('samples');
70-
run('node run.js');
70+
if (process.argv[3]) {
71+
run('node run.js ' + process.argv[3]);
72+
}
73+
else {
74+
run('node run.js');
75+
}
7176
popd();
7277
console.log('done');
73-
}
78+
}

0 commit comments

Comments
 (0)