|
@@ -6,7 +6,7 @@ import { workingDirectory } from '../utils.mjs';
|
|
|
cd(path.join(workingDirectory, 'clients', 'rust'));
|
|
cd(path.join(workingDirectory, 'clients', 'rust'));
|
|
|
const hasSolfmt = await which('solfmt', { nothrow: true });
|
|
const hasSolfmt = await which('solfmt', { nothrow: true });
|
|
|
if (hasSolfmt) {
|
|
if (hasSolfmt) {
|
|
|
- await $`cargo test-sbf ${argv._} 2>&1 | solfmt`;
|
|
|
|
|
|
|
+ await $`cargo test-sbf ${process.argv.slice(3)} 2>&1 | solfmt`;
|
|
|
} else {
|
|
} else {
|
|
|
- await $`cargo test-sbf ${argv._}`;
|
|
|
|
|
|
|
+ await $`cargo test-sbf ${process.argv.slice(3)}`;
|
|
|
}
|
|
}
|