Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@chevtek/cli

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@chevtek/cli - npm Package Compare versions

Comparing version 1.0.19 to 1.0.20

2

bin/generators/full-stack/index.js

@@ -81,3 +81,3 @@ "use strict";

files = _a.sent();
if (!force && (files.length > 1 || path_1.default.basename(files[0]) !== ".git")) {
if (!force && files.length > 0 && (files.length > 1 || path_1.default.basename(files[0]) !== ".git")) {
throw new Error("Target directory is not empty. Supply --force to generate anyway.");

@@ -84,0 +84,0 @@ }

@@ -33,3 +33,3 @@ import fs from "fs";

const files = await readdir(dir);
if (!force && (files.length > 1 || path.basename(files[0]) !== ".git")) {
if (!force && files.length > 0 && (files.length > 1 || path.basename(files[0]) !== ".git")) {
throw new Error("Target directory is not empty. Supply --force to generate anyway.");

@@ -36,0 +36,0 @@ }

{
"name": "@chevtek/cli",
"version": "1.0.19",
"version": "1.0.20",
"description": "",

@@ -5,0 +5,0 @@ "bin": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc