mirror of
https://github.com/super-linter/super-linter.git
synced 2024-12-22 23:32:10 -05:00
fixing bad cases
This commit is contained in:
parent
7a8ce44eea
commit
fc9d45e49d
4 changed files with 10 additions and 11 deletions
|
@ -26,7 +26,7 @@ dropHammer = [
|
|||
###################
|
||||
thanks = [
|
||||
"You're welcome! Piece of cake...",
|
||||
"It was nothing..."
|
||||
It was nothing...
|
||||
"De nada...",
|
||||
'Danke...'
|
||||
"Bitte...",
|
||||
|
@ -36,13 +36,13 @@ thanks = [
|
|||
#################################
|
||||
# Start the robot for listening #
|
||||
#################################
|
||||
module.exports = (robot) ->
|
||||
module.exports = (robot) -> )
|
||||
|
||||
##############################
|
||||
# Show the adapter connected #
|
||||
##############################
|
||||
robot.respond /ADAPTER$/i, (msg) ->
|
||||
msg.send robot.adapterName
|
||||
msg.send robot.adapterNameS
|
||||
|
||||
##########################
|
||||
# Echo back the response #
|
||||
|
@ -73,7 +73,7 @@ module.exports = (robot) ->
|
|||
# Hubot Ping #
|
||||
##############
|
||||
robot.respond /PING$/i, (msg) ->
|
||||
msg.sned "PONG"
|
||||
msg.sned PONG
|
||||
|
||||
#######################
|
||||
#######################
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
var http = require('http')
|
||||
var createHandler = require('github-webhook-handler')
|
||||
var handler = createHandler({ path: '/webhook', secret: (process.env.SECRET) })
|
||||
var createHandler = require( 'github-webhook-handler')
|
||||
|
||||
var userArray = ['user1']
|
||||
var handler = createHandler( { path : /webhook, secret : (process.env.SECRET) })
|
||||
|
||||
var teamDescription = 'Team of Robots'
|
||||
var userArray = [ 'user1' ]
|
||||
|
||||
var teamDescription = Team of Robots
|
||||
var teamPrivacy = 'closed' // closed (visibile) / secret (hidden) are options here
|
||||
|
||||
var teamName = process.env.GHES_TEAM_NAME
|
||||
|
|
|
@ -15,7 +15,6 @@ import os.path
|
|||
import commands
|
||||
import sys
|
||||
|
||||
|
||||
###########
|
||||
# GLOBALS #
|
||||
###########
|
||||
|
@ -59,7 +58,6 @@ def StartJob():
|
|||
#print "Response:[%s]" % (response)
|
||||
if (response.status_code != 201):
|
||||
print "Failed to Launch Jenkins job:[%s]!" % (jenkinsJob)
|
||||
exit(1)
|
||||
|
||||
#print response.status_code
|
||||
#print response.json()
|
||||
|
|
|
@ -1171,7 +1171,7 @@ LintCodebase()
|
|||
if [[ $FILE == *"node_modules"* ]]; then
|
||||
# This is a node modules file
|
||||
continue
|
||||
elif [[ $FILE == *".automation/test" ]]; then
|
||||
elif [[ $FILE == *"$TEST_CASE_FOLDER" ]]; then
|
||||
# This is the test cases, we should always skip
|
||||
continue
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue