apify-cli 0.15.1-beta.1 → 0.15.1-beta.2
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/package.json +1 -1
- package/src/commands/create.js +1 -5
package/package.json
CHANGED
package/src/commands/create.js
CHANGED
|
@@ -46,9 +46,8 @@ class CreateCommand extends ApifyCommand {
|
|
|
46
46
|
});
|
|
47
47
|
|
|
48
48
|
actorName = await ensureValidActorName(actorName);
|
|
49
|
-
let messages = null;
|
|
50
49
|
if (manifestPromise) {
|
|
51
|
-
({ archiveUrl: templateArchiveUrl, skipOptionalDeps
|
|
50
|
+
({ archiveUrl: templateArchiveUrl, skipOptionalDeps } = await getTemplateDefinition(templateName, manifestPromise));
|
|
52
51
|
}
|
|
53
52
|
|
|
54
53
|
const cwd = process.cwd();
|
|
@@ -144,9 +143,6 @@ class CreateCommand extends ApifyCommand {
|
|
|
144
143
|
|
|
145
144
|
if (dependenciesInstalled) {
|
|
146
145
|
outputs.success(`Actor '${actorName}' was created. To run it, run "cd ${actorName}" and "apify run".`);
|
|
147
|
-
if (messages?.postCreate) {
|
|
148
|
-
outputs.info(messages?.postCreate);
|
|
149
|
-
}
|
|
150
146
|
} else {
|
|
151
147
|
outputs.success(`Actor '${actorName}' was created. Please install its dependencies to be able to run it using "apify run".`);
|
|
152
148
|
}
|