Changeset View
Changeset View
Standalone View
Standalone View
scripts/get_clang_paths_cli.js
// @flow | // @flow | ||||
const { clangPaths } = require('./get_clang_paths'); | const { clangPaths } = require('./get_clang_paths.js'); | ||||
ashoat: This was missed in D6692 because it is a `require` statement, not an `import` | |||||
(() => { | (() => { | ||||
let command = '('; | let command = '('; | ||||
clangPaths.forEach(pathItem => { | clangPaths.forEach(pathItem => { | ||||
const { path, extensions, excludes } = pathItem; | const { path, extensions, excludes } = pathItem; | ||||
command += `find ${path} `; | command += `find ${path} `; | ||||
command += extensions | command += extensions | ||||
.map(extension => `-name '*.${extension}' `) | .map(extension => `-name '*.${extension}' `) | ||||
Show All 9 Lines |
This was missed in D6692 because it is a require statement, not an import