Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
Rexios80 committed Dec 1, 2024
1 parent 29eae56 commit bf5fa35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion test/run_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ void main() {
['run', 'custom_lint'],
projects: defaultProjects(devDependencies: {'custom_lint: any'}),
link: true,
debug: true,
);
final stdout = result.stdout;

Expand Down
7 changes: 2 additions & 5 deletions test/test_utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,12 @@ Future<PubyProcessResult> testCommand(
final puby = File(path.join('bin', 'puby.dart')).absolute.path;

if (link) {
final result = await Process.run(
// puby link was not working in the test environment
await Process.run(
'dart',
[puby, 'get'],
workingDirectory: workingDirectory,
);
if (result.exitCode != 0) {
print(result.stdout);
throw Exception('Failed to link projects');
}
}

final process = await Process.start(
Expand Down

0 comments on commit bf5fa35

Please sign in to comment.