diff --git a/subprojects/extensions-tool/src/command-create.c b/subprojects/extensions-tool/src/command-create.c index 64b38824a..420fb27a2 100644 --- a/subprojects/extensions-tool/src/command-create.c +++ b/subprojects/extensions-tool/src/command-create.c @@ -217,13 +217,13 @@ launch_extension_source (GFile *dir, GError **error) main_source = g_file_get_child (dir, "extension.js"); handler = g_file_query_default_handler (main_source, NULL, NULL); + + /* Translators: a file path to an extension directory */ + g_print (_("The new extension was successfully created in %s.\n"), + g_file_peek_path (dir)); + if (handler == NULL) - { - /* Translators: a file path to an extension directory */ - g_print (_("The new extension was successfully created in %s.\n"), - g_file_peek_path (dir)); return TRUE; - } l.data = main_source; l.next = l.prev = NULL;