dxfl 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2 -0
- package/dist/guichet.js +2 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/dist/guichet.js
CHANGED
|
@@ -36,9 +36,10 @@ export class GuichetApi {
|
|
|
36
36
|
}
|
|
37
37
|
getWebsite(vhost) {
|
|
38
38
|
return __awaiter(this, void 0, void 0, function* () {
|
|
39
|
+
var _a;
|
|
39
40
|
try {
|
|
40
41
|
const websiteInfo = yield this.api.getWebsite({ vhost });
|
|
41
|
-
if (websiteInfo.vhost == `${vhost}.web.deuxfleurs.fr`) {
|
|
42
|
+
if (((_a = websiteInfo.vhost) === null || _a === void 0 ? void 0 : _a.name) == `${vhost}.web.deuxfleurs.fr`) {
|
|
42
43
|
// This means that `vhost` is a website name from before
|
|
43
44
|
// the migration of websites *.web.deuxfleurs.fr to bucket
|
|
44
45
|
// names with the full domain name.
|
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { login, logout } from "./auth.js";
|
|
|
5
5
|
import { deploy } from "./deploy.js";
|
|
6
6
|
import { empty } from "./empty.js";
|
|
7
7
|
import { vhostsList } from "./vhosts.js";
|
|
8
|
-
program.name("dxfl").description("Deuxfleurs CLI tool").version("0.2.
|
|
8
|
+
program.name("dxfl").description("Deuxfleurs CLI tool").version("0.2.1");
|
|
9
9
|
program
|
|
10
10
|
.command("login")
|
|
11
11
|
.description("Link your Deuxfleurs account with this tool.")
|