This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// node core modules | |
const fs = require('fs'); | |
const path = require('path'); | |
// 3rd party modules | |
const glob = require('glob'); | |
const format = require('prettier-eslint'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
for D in *; do | |
if [ -d $D ]; then | |
cd $D | |
if [ -d .git ] || git rev-parse --git-dir > /dev/null 2>&1; then | |
echo "${D}: $(git remote get-url --push origin)" | |
fi | |
cd .. | |
fi |