We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
string.prototype.repeat
repeating
1 parent 71ae911 commit 9631848Copy full SHA for 9631848
lib/routes/exit.js
@@ -1,14 +1,13 @@
1
'use strict';
2
var yosay = require('yosay');
3
-var repeating = require('repeating');
4
5
module.exports = function (app) {
6
app.insight.track('yoyo', 'exit');
7
8
var PADDING = 5;
9
var url = 'http://yeoman.io';
10
var maxLength = url.length + PADDING;
11
- var newLine = repeating(' ', maxLength);
+ var newLine = ' '.repeat(maxLength);
12
13
console.log(yosay(
14
'Bye from us!' +
package.json
@@ -59,7 +59,6 @@
59
"package-json": "^2.1.0",
60
"parse-help": "^0.1.1",
61
"read-pkg-up": "^2.0.0",
62
- "repeating": "^2.0.0",
63
"root-check": "^1.0.0",
64
"sort-on": "^1.0.0",
65
"string-length": "^1.0.0",
0 commit comments