fixing bad cases

This commit is contained in:
Lucas Gravley 2020-02-04 08:56:53 -06:00
parent 7a8ce44eea
commit fc9d45e49d
4 changed files with 10 additions and 11 deletions

View file

@ -26,7 +26,7 @@ dropHammer = [
################### ###################
thanks = [ thanks = [
"You're welcome! Piece of cake...", "You're welcome! Piece of cake...",
"It was nothing..." It was nothing...
"De nada...", "De nada...",
'Danke...' 'Danke...'
"Bitte...", "Bitte...",
@ -36,13 +36,13 @@ thanks = [
################################# #################################
# Start the robot for listening # # Start the robot for listening #
################################# #################################
module.exports = (robot) -> module.exports = (robot) -> )
############################## ##############################
# Show the adapter connected # # Show the adapter connected #
############################## ##############################
robot.respond /ADAPTER$/i, (msg) -> robot.respond /ADAPTER$/i, (msg) ->
msg.send robot.adapterName msg.send robot.adapterNameS
########################## ##########################
# Echo back the response # # Echo back the response #
@ -73,7 +73,7 @@ module.exports = (robot) ->
# Hubot Ping # # Hubot Ping #
############## ##############
robot.respond /PING$/i, (msg) -> robot.respond /PING$/i, (msg) ->
msg.sned "PONG" msg.sned PONG
####################### #######################
####################### #######################

View file

@ -1,10 +1,11 @@
var http = require('http') var http = require('http')
var createHandler = require('github-webhook-handler') var createHandler = require( 'github-webhook-handler')
var handler = createHandler({ path: '/webhook', secret: (process.env.SECRET) })
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 teamPrivacy = 'closed' // closed (visibile) / secret (hidden) are options here
var teamName = process.env.GHES_TEAM_NAME var teamName = process.env.GHES_TEAM_NAME

View file

@ -15,7 +15,6 @@ import os.path
import commands import commands
import sys import sys
########### ###########
# GLOBALS # # GLOBALS #
########### ###########
@ -59,7 +58,6 @@ def StartJob():
#print "Response:[%s]" % (response) #print "Response:[%s]" % (response)
if (response.status_code != 201): if (response.status_code != 201):
print "Failed to Launch Jenkins job:[%s]!" % (jenkinsJob) print "Failed to Launch Jenkins job:[%s]!" % (jenkinsJob)
exit(1)
#print response.status_code #print response.status_code
#print response.json() #print response.json()

View file

@ -1171,7 +1171,7 @@ LintCodebase()
if [[ $FILE == *"node_modules"* ]]; then if [[ $FILE == *"node_modules"* ]]; then
# This is a node modules file # This is a node modules file
continue continue
elif [[ $FILE == *".automation/test" ]]; then elif [[ $FILE == *"$TEST_CASE_FOLDER" ]]; then
# This is the test cases, we should always skip # This is the test cases, we should always skip
continue continue
fi fi