Skip to content

Commit

Permalink
chore@dnd
Browse files Browse the repository at this point in the history
  • Loading branch information
selfrefactor committed Mar 22, 2020
1 parent cd216ec commit 3b6d064
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/node/src/ants/checkExtensionMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const modes = [ 'LOCK_FILE', 'WITH_COVERAGE', 'LINT_ONLY' ]
const schema = {
dir : 'string',
filePath : 'string',
hasReact : 'boolean',
hasAngular : 'boolean',
hasWallaby : 'boolean',
mode : modes,
}
Expand Down
1 change: 0 additions & 1 deletion packages/node/src/fileSaved.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { execJest } from './_modules/execJest'
import { getCoveragePath } from './_modules/getCoveragePath'
import { getSpecFile } from './_modules/getSpecFile'
import { whenFileLoseFocus } from './_modules/whenFileLoseFocus'
import { lintAnt } from './ants/lint'
import { coverageMode } from './coverageMode'
import { startSpinner } from './emitters/startSpinner'
import { stopSpinner } from './emitters/stopSpinner'
Expand Down
5 changes: 4 additions & 1 deletion packages/node/src/startSockets.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,10 @@ export function niketaClient(){

const passed = checkExtensionMessage(input.message)

if (!passed) return console.log('unknown mode', input.message)
if (!passed){
console.log(input.message)
return log('unknown VSCode message error', 'box')
}

if (!emit){
return console.log('Waiting for VSCode to connecte', input.message)
Expand Down

0 comments on commit 3b6d064

Please sign in to comment.