Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
1 lines (1 sloc) 231 Bytes
$files = Get-ChildItem .\koans -Recurse -Force -ErrorAction SilentlyContinue -Filter *.js| % { $filepath = $_.FullName; (get-content $filepath) | % { $_ -replace 'expect\((.+)\)\.','expect(toDo).' } | set-content $filepath -Force }