File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change 1717
1818const cli = require ( "cli" ) ;
1919const package = require ( "./package.json" ) ;
20+
21+ const terms = {
22+ use : "https://www.adobe.com/legal/terms.html" ,
23+ dev : "http://www.adobe.com/go/developer-terms"
24+ } ;
25+
2026const sampleDirs = require ( "./commands/bootstrap" ) . sampleDirs ;
2127const sampleTypes = Object . keys ( sampleDirs )
2228 . filter ( el => el !== "default" )
@@ -63,9 +69,9 @@ if (parsedOpts.json) {
6369 cli . status = function ( ) { } ;
6470} else {
6571 cli . info ( `xdpm ${ package . version } - XD Plugin Manager CLI` ) ;
66- cli . info ( `Use of this tool means you agree to the Adobe Terms of Use at
67- https://www.adobe.com/legal/terms.html and the Developer Additional
68- Terms at https://wwwimages2.adobe.com/content/dam/acom/en/legal/servicetou/Adobe-Developer-Additional-Terms_en_US_20180605_2200.pdf. ` ) ;
72+ cli . info ( `Use of this tool means you agree to:
73+ - the Adobe Terms of Use at ${ terms . use }
74+ - the Developer Additional Terms at ${ terms . dev } `) ;
6975}
7076
7177const { command, args } = cli ;
You can’t perform that action at this time.
0 commit comments