File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed
test/unit/partials/config Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 1-
21import { PluginOptions , RemoteUser } from '@verdaccio/types' ;
2+
33import { VerdaccioGitlabConfig } from '../../../../src/gitlab' ;
44import { UserDataGroups } from '../../../../src/authcache' ;
5-
65import logger from '../logger' ;
76import { UserData } from '../../../../src/authcache' ;
87
@@ -12,14 +11,14 @@ const verdaccioGitlabConfig: VerdaccioGitlabConfig = {
1211} ;
1312
1413const options : PluginOptions < VerdaccioGitlabConfig > = {
15- //@ts -ignore
14+ // @ts -ignore
1615 config : { } ,
17- //@ts -ignore
16+ // @ts -ignore
1817 logger : logger
1918} ;
2019
21- const user : string = 'myUser' ;
22- const pass : string = 'myPass' ;
20+ const user = 'myUser' ;
21+ const pass = 'myPass' ;
2322const remoteUser : RemoteUser = {
2423 real_groups : [ 'myGroup' , 'anotherGroup/myProject' , user ] ,
2524 groups : [ 'myGroup' , 'anotherGroup/myProject' , user ] ,
You can’t perform that action at this time.
0 commit comments