Skip to content

Commit 2f3b684

Browse files
authored
Merge pull request #37 from AdobeXD/dev-terms
Updated developer terms link. Addresses #36.
2 parents 0a67fac + 2668d76 commit 2f3b684

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

index.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@
1717

1818
const cli = require("cli");
1919
const 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+
2026
const sampleDirs = require("./commands/bootstrap").sampleDirs;
2127
const 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

7177
const { command, args } = cli;

0 commit comments

Comments
 (0)