You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this.ui.log(transform("<red><bold>WARNING:</bold></red> Found lock files for both npm and yarn! Lock files are not cross compatible between package managers. It's recommended to remove either package-lock.json (NPM) or yarn.lock (Yarn) from the project directory before installing new packages.\n"));
26
+
this.ui.log(transform("<red><bold>WARNING:</bold></red> Found lock files for both npm and yarn! Lock files are not cross compatible between package managers. It's recommended to remove either package-lock.json (NPM) or yarn.lock (Yarn) from the project directory before installing new packages.\n"),'');
28
27
}
29
28
elseif(npmLockExists){
30
-
this.ui.log(transform('<bold>Note:</bold> Found NPM lock file. Recommend continued use of npm as package manager.\n'));
29
+
this.ui.log(transform('<bold>Note:</bold> Found NPM lock file. Recommend continued use of npm as package manager.\n'),'');
31
30
}
32
31
elseif(yarnLockExists){
33
-
this.ui.log(transform('<bold>Note:</bold> Found Yarn lock file. Recommend continued use of yarn as package manager.\n'));
32
+
this.ui.log(transform('<bold>Note:</bold> Found Yarn lock file. Recommend continued use of yarn as package manager.\n'),'');
34
33
}
35
34
letdefaultIndex=0;
36
35
letyarn=newYarn();
37
36
if(yarn.isAvailable(workingDirectory)){
38
37
if(!yarnLockExists){
39
-
this.ui.log('Note: Lock files are not cross compatible between package managers. Choose Yarn here only if you intend to use Yarn for future package installs. Alternatively, remove either yarn.lock or package-lock.json from the project directory before installing new packages.');
38
+
this.ui.log('Note: Lock files are not cross compatible between package managers. Choose Yarn here only if you intend to use Yarn for future package installs. Alternatively, remove either yarn.lock or package-lock.json from the project directory before installing new packages.','');
0 commit comments