mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-07-13 03:36:07 +09:00
Clean up the oopsie. Rebuild the blank exercises.
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
'use strict';
|
||||
const ansiRegex = require('ansi-regex');
|
||||
|
||||
module.exports = input => typeof input === 'string' ? input.replace(ansiRegex(), '') : input;
|
||||
module.exports = string => typeof string === 'string' ? string.replace(ansiRegex(), '') : string;
|
||||
|
||||
Reference in New Issue
Block a user