From c4838dfaed8d55b8362d28bb289cb58274755f28 Mon Sep 17 00:00:00 2001 From: Brad Rydzewski Date: Sat, 11 Oct 2014 19:30:19 -0700 Subject: [PATCH] fixed modulus typos --- plugin/deploy/modulus/modulus.go | 2 +- plugin/deploy/modulus/modulus_test.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/plugin/deploy/modulus/modulus.go b/plugin/deploy/modulus/modulus.go index f9f94532..fa06236e 100644 --- a/plugin/deploy/modulus/modulus.go +++ b/plugin/deploy/modulus/modulus.go @@ -21,7 +21,7 @@ func (m *Modulus) Write(f *buildfile.Buildfile) { // Verify npm exists, otherwise we cannot install the // modulus command line utility. - f.WriteCmdSilent("[ -f /usr/bin/npm ] || echo ERROR: npm is required for moduls deployments") + f.WriteCmdSilent("[ -f /usr/bin/npm ] || echo ERROR: npm is required for modulus.io deployments") f.WriteCmdSilent("[ -f /usr/bin/npm ] || exit 1") // Install the Modulus command line interface then deploy the configured diff --git a/plugin/deploy/modulus/modulus_test.go b/plugin/deploy/modulus/modulus_test.go index 357bdb82..59c8e6bf 100644 --- a/plugin/deploy/modulus/modulus_test.go +++ b/plugin/deploy/modulus/modulus_test.go @@ -1,7 +1,6 @@ package modulus import ( - //"strings" "testing" "github.com/drone/drone/shared/build/buildfile" @@ -42,7 +41,7 @@ func Test_Modulus(t *testing.T) { m.Write(b) g.Assert(b.String()).Equal(`export MODULUS_TOKEN=bar -[ -f /usr/bin/npm ] || echo ERROR: npm is required for moduls deployments +[ -f /usr/bin/npm ] || echo ERROR: npm is required for modulus.io deployments [ -f /usr/bin/npm ] || exit 1 [ -f /usr/bin/sudo ] || npm install -g modulus [ -f /usr/bin/sudo ] && sudo npm install -g modulus