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

fis-command-release

Package Overview
Dependencies
Maintainers
1
Versions
108
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fis-command-release - npm Package Compare versions

Comparing version 0.3.2 to 0.3.3

11

lib/deploy.js

@@ -32,3 +32,3 @@ /*

} else {
file.deliver(dest.root + dest.to, dest.md5);
file.deliver(dest.to, dest.md5);
}

@@ -51,8 +51,7 @@ }

if(opt.to){
opt.to = normilize(opt.to);
opt.to = fis.util(opt.to);
} else if(/^output\b/.test(d)){ //local
opt.to = normilize(d);
opt.to = fis.util(root, d);
} else if(d === 'preview'){
opt.root = fis.project.getTempPath('www');
opt.to = '/';
opt.to = fis.project.getTempPath('www');
} else {

@@ -65,3 +64,3 @@ fis.log.error('invalid deploy destination options [' + d + ']');

dests.forEach(function(d){
if(file.release.indexOf(d.from) === 0){
if(file.release.indexOf(d.from) === 0 && fis.util.filter(file.subpath, d.include, d.exclude)){
deploy(d, file, fis);

@@ -68,0 +67,0 @@ }

{
"name" : "fis-command-release",
"description" : "fis release command.",
"version" : "0.3.2",
"version" : "0.3.3",
"author" : "FIS Team <fis@baidu.com>",

@@ -6,0 +6,0 @@ "homepage" : "http://fis.baidu.com/",

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