lint-prepush
Advanced tools
Comparing version 0.1.0 to 0.1.1
{ | ||
"name": "lint-prepush", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Run linters on committed files in a Branch🔬", | ||
@@ -5,0 +5,0 @@ "author": "“Theenadayalan” <“puduvai.theena@gmail.com”>", |
@@ -8,3 +8,3 @@ const chalk = require("chalk"); | ||
// git command to pull out the changed file names between current branch and master (Exclude delelted files which cannot be fetched now) | ||
let command = `git diff --name-only --diff-filter=d ${baseBranch}...HEAD`; | ||
let command = `git diff --relative --name-only --diff-filter=d ${baseBranch}...HEAD`; | ||
@@ -11,0 +11,0 @@ return new Promise(resolve => { |
Sorry, the diff of this file is not supported yet
360527