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.
1 parent dfb3f62 commit 482e4a9Copy full SHA for 482e4a9
lib/node_modules/@stdlib/_tools/github/create-repo/lib/index.js
@@ -24,7 +24,6 @@
24
* @module @stdlib/_tools/github/create-repo
25
*
26
* @example
27
-* ```text
28
* var createRepo = require( '@stdlib/_tools/github/create-repo' );
29
30
* var opts = {
@@ -41,12 +40,12 @@
41
40
* console.error( 'Reset: %s', (new Date( info.reset*1000 )).toISOString() );
42
* }
43
* if ( error ) {
44
-* throw new Error( error.message );
+* console.error( error.message );
+* } else {
45
+* console.log( JSON.stringify( repo ) );
46
+* // returns <repo_data>
47
-* console.log( JSON.stringify( repo ) );
-* // returns <repo_data>
48
49
-* ```
50
*/
51
52
// MODULES //
0 commit comments