From 3397207734afbc38bd58a789e5599ebe98977fcc Mon Sep 17 00:00:00 2001 From: Nikola Ivanov Date: Sun, 10 Dec 2023 03:08:28 +0100 Subject: [PATCH] Fix a bug --- commands/setup_theme.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/setup_theme.js b/commands/setup_theme.js index 00c4054..c26788a 100644 --- a/commands/setup_theme.js +++ b/commands/setup_theme.js @@ -1,7 +1,7 @@ import fs from 'fs'; import path from 'path'; import fetch from 'node-fetch'; -var AdmZip = require('adm-zip'); +import AdmZip from 'adm-zip'; import ProgressBar from 'progress'; import ora from 'ora'; import chalk from 'chalk'; diff --git a/package.json b/package.json index 5bb6c42..2a5210d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@webredone/trb-cli", - "version": "3.0.0", + "version": "3.0.1", "description": "TRB-CLI is a handy Node.js CLI that automates the process of managing blocks in a Theme Redone WordPress theme", "main": "index.js", "type": "module",