changeset 36:647cd9e354bf

Change variable naming in mpm.verify to make it more concisten with the other scripts
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 02 Nov 2018 13:21:20 +0100
parents 3a28f6de13c2
children 01e81c77bca1
files +mpm/verify.m
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/+mpm/verify.m	Fri Nov 02 13:10:57 2018 +0100
+++ b/+mpm/verify.m	Fri Nov 02 13:21:20 2018 +0100
@@ -3,13 +3,13 @@
 % The right version is at the top of the path
 %
 % Useful to put at the top of some scripts
-function verify(d)
-    if ~exist('d', 'var') || isempty(d)
-        d = pwd;
+function verify(projectFolder)
+    if ~exist('projectFolder', 'var') || isempty(projectFolder)
+        projectFolder = pwd;
     end
 
     m = mpm.MatlabPathManager();
-    if ~m.verify(d)
+    if ~m.verify(projectFolder)
         error('Subpaths are not correctly loaded. Try running mpm.checkin()');
     end
 end