Skip to content

Commit c0d327b

Browse files
committed
fix path issue
1 parent 44bf72f commit c0d327b

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/subfun/checkCppBidsDependencies.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function checkCppBidsDependencies(cfg)
1212

1313
elseif isempty(GITHUB_WORKSPACE) % local
1414

15-
pth = fullfile(fileparts(mfilename('fullpath')), '..');
15+
pth = fullfile(fileparts(mfilename('fullpath')), '..', '..');
1616
checkSubmodule(fullfile(pth, 'lib', 'JSONio'));
1717
checkSubmodule(fullfile(pth, 'lib', 'bids-matlab'));
1818

src/subfun/printCreditsCppBids.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
function printCreditsCppBids(cfg)
2-
3-
version = fileread(fullfile(fileparts(mfilename('fullpath')),...
2+
3+
version = fileread(fullfile(fileparts(mfilename('fullpath')), ...
44
'..', '..', 'version.txt'));
55

66
verbose = true;

tests/test_utils.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@
77
end
88

99
function test_utilsBasic()
10-
10+
1111
cfg.verbose = true;
1212

13-
printCreditsCppBids();
13+
printCreditsCppBids(cfg);
1414

15-
checkCppBidsDependencies();
15+
checkCppBidsDependencies(cfg);
1616

1717
end

0 commit comments

Comments
 (0)